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)
commit918ee91c071d6248c48bc6457a6dea286146e3ad
tree6b9dd62f6a0ccc57043678ec1129833481120ad7
parentbd5f47ec961594b1091839333600008f8166fd00
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