Skip to content

Commit

Permalink
hwmon: (lm90) Reorder chip enumeration to be in alphabetical order
Browse files Browse the repository at this point in the history
Reorder chip enumeration in alphabetical order to make it easier to
see which chips are supported, and to clarify where to add support
new chip types. No functional change.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
  • Loading branch information
Guenter Roeck committed Jul 13, 2022
1 parent 479f21d commit ff8f0a6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions drivers/hwmon/lm90.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,10 @@ static const unsigned short normal_i2c[] = {
0x18, 0x19, 0x1a, 0x29, 0x2a, 0x2b, 0x48, 0x49, 0x4a, 0x4b, 0x4c,
0x4d, 0x4e, 0x4f, I2C_CLIENT_END };

enum chips { lm90, adm1032, lm99, lm86, max6657, max6659, adt7461, max6680,
max6646, w83l771, max6696, sa56004, g781, tmp451, tmp461, max6654 };
enum chips { adm1032, adt7461, g781, lm86, lm90, lm99,
max6646, max6654, max6657, max6659, max6680, max6696,
sa56004, tmp451, tmp461, w83l771,
};

/*
* The LM90 registers
Expand Down

0 comments on commit ff8f0a6

Please sign in to comment.