Fixed the following warnings (reported by cppcheck):
[drivers/hwmon/abx500.c:224]: (warning) %ld in format string (no. 1)
requires 'long' but the argument type is 'unsigned long'.
[drivers/hwmon/abx500.c:233]: (warning) %ld in format string (no. 1)
requires 'long' but the argument type is 'unsigned long'.
[drivers/hwmon/abx500.c:242]: (warning) %ld in format string (no. 1)
requires 'long' but the argument type is 'unsigned long'.
Signed-off-by: Asaf Vertz <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
abx500_temp_attributes is used only in this file. Make it static.
Signed-off-by: Sachin Kamat <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Each of ST-Ericsson X500 chip set series consists of both ABX500 and DBX500
chips. This is ABX500 hwmon driver, where the abx500.c is a common layer for
all ABX500s, and the ab8500.c is specific for AB8500 chip. Under this designed
structure, other chip specific files can be added simply using the same common
layer abx500.c.
Signed-off-by: Hongbo Zhang <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Acked-by: Guenter Roeck <[email protected]>
Signed-off-by: Anton Vorontsov <[email protected]>