27 Nov, 2011
1 commit
-
This patch converts the drivers in drivers/hwmon/* to use the
module_platform_driver() macro which makes the code smaller and a bit
simpler.Cc: Donggeun Kim
Cc: Simon Guinot
Cc: Lars-Peter Clausen
Cc: MyungJoo Ham
Cc: Ben Dooks
Cc: Hans de Goede
Cc: J Keerthy
Cc: David S. Miller
Cc: Mark Brown
Signed-off-by: Axel Lin
Acked-by: Mark Brown
Signed-off-by: Guenter Roeck
18 Jun, 2011
1 commit
-
Initialize dynamically allocated sysfs attributes before device_create_file()
call to suppress lockdep_init_map() warning if lockdep debugging is enabled.Signed-off-by: Guenter Roeck
Acked-by: Jean Delvare
Cc: stable@kernel.org # 2.6.34+
03 Jan, 2011
1 commit
-
The owner field was removed from struct attribute in
6fd69dc578fa0b1bbc3aad70ae3af9a137211707, so don't assign it anymore.Signed-off-by: Maurus Cuelenaere
Signed-off-by: Guenter Roeck
29 Oct, 2010
1 commit
-
The semaphore which protects the ADC is semantically a mutex. Use a
real mutex.Signed-off-by: Thomas Gleixner
Cc: Ben Dooks
Signed-off-by: Jean Delvare
10 Dec, 2009
1 commit
-
The previous patch, commit be4c23c93c4828d36ac9e1a88410618a61676426 was
from the wrong tree and thus broke the current build which had the
channel configuration name changed.Fix the following build errors:
drivers/hwmon/s3c-hwmon.c: In function 's3c_hwmon_probe':
drivers/hwmon/s3c-hwmon.c:326: warning: initialization from incompatible pointer type
drivers/hwmon/s3c-hwmon.c:331: error: dereferencing pointer to incomplete type
drivers/hwmon/s3c-hwmon.c:336: error: dereferencing pointer to incomplete typeSigned-off-by: Ben Dooks
Signed-off-by: Jean Delvare
16 Nov, 2009
1 commit
-
Avoid registering channels that have zero divider settings in them, as this
will only lead to kernel OOPS from divide-by-zero when the sysfs entry is
read.Signed-off-by: Ben Dooks
Signed-off-by: Jean Delvare
18 Jul, 2009
1 commit
-
Add support for the ADC controller on the S3C series of processors to
drivers/hwmon for use with hardware monitoring systems.Signed-off-by: Ben Dooks
Acked-by: Jean Delvare
Signed-off-by: Ben Dooks