]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: I2C addresses are constant
authorJean Delvare <khali@linux-fr.org>
Thu, 28 Oct 2010 18:31:50 +0000 (20:31 +0200)
committerJean Delvare <khali@endymion.delvare>
Thu, 28 Oct 2010 18:31:50 +0000 (20:31 +0200)
commited47e953339e84a46960ca222cdfbec3a632bf43
tree6b9dd62f6a0ccc57043678ec1129833481120ad7
parent844ae8a58851de4974765a8f0934eb053f9bfa90
hwmon: I2C addresses are constant

We can mark normal_i2c const. Almost all drivers do that already, so
fix the 3 remaining ones before they are used as (bad) examples for
new drivers.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: George Joseph <george.joseph@fairview5.com>
Reviewed-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/adt7475.c
drivers/hwmon/asc7621.c
drivers/hwmon/tmp421.c