HWMON: Make s3c-hwmon depend on S3C_ADC
PATCH 1/1 HWMON: Make s3c-hwmon depend on S3C_ADC
This way we don't need to modify Kconfig every time a new SoC comes along to make this driver support it. Also fix some typos while I'm at it.
Signed-off-by Maurus Cuelenaere <[email protected]>
--- drivers/hwmon/Kconfig | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
drivers/hwmon/Kconfig +4 -4
@@ -743,14 +743,14 @@ config SENSORS_SHT15 will be called sht15. config SENSORS_S3C - tristate "S3C24XX/S3C64XX Inbuilt ADC" - depends on ARCH_S3C2410 + tristate "Samsung built-in ADC" + depends on S3C_ADC help If you say yes here you get support for the on-board ADCs of - the Samsung S3C24XX or S3C64XX series of SoC + the Samsung S3C24XX, S3C64XX and other series of SoC This driver can also be built as a module. If so, the module - will be called s3c-hwmo. + will be called s3c-hwmon. config SENSORS_S3C_RAW bool "Include raw channel attributes in sysfs"
Signature · 7 lines
1.7.0.4 _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 4 lines · Maurus Cuelenaere
This way we don't need to modify
Kconfigevery time a new SoC comes along to make this driver support it. Also fix some typos while I'm at it.Signed-off-by Maurus Cuelenaere <[email protected]>
Reviewed-by Guenter Roeck <[email protected]>
Quoted 35 lines
--- drivers/hwmon/Kconfig | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)drivers/hwmon/Kconfig +4
-4@@ -743,14 +743,14 @@ config SENSORS_SHT15 will be called sht15. config SENSORS_S3C - tristate "S3C24XX/S3C64XX Inbuilt ADC" - depends on ARCH_S3C2410 + tristate "Samsung built-in ADC" + depends on S3C_ADC help If you say yes here you get support for the on-board ADCs of - the Samsung S3C24XX or S3C64XX series of SoC + the Samsung S3C24XX, S3C64XX and other series of SoC This driver can also be built as a module. If so, the module - will be called s3c-hwmo. + will be called s3c-hwmon. config SENSORS_S3C_RAW bool "Include raw channel attributes in sysfs"Signature · 7 lines
1.7.0.4 _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Jean Delvare
AppliedQuoted 29 lines · Guenter Roeck
Quoted 4 lines · Maurus Cuelenaere
This way we don't need to modify
Kconfigevery time a new SoC comes along to make this driver support it. Also fix some typos while I'm at it.Signed-off-by Maurus Cuelenaere <[email protected]>Reviewed-by Guenter Roeck <[email protected]>Quoted 21 lines
--- drivers/hwmon/Kconfig | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)drivers/hwmon/Kconfig +3
-3@@ -743,14 +743,14 @@ config SENSORS_SHT15 will be called sht15. config SENSORS_S3C - tristate "S3C24XX/S3C64XX Inbuilt ADC" - depends on ARCH_S3C2410 + tristate "Samsung built-in ADC" + depends on S3C_ADC help If you say yes here you get support for the on-board ADCs of - the Samsung S3C24XX or S3C64XX series of SoC + the Samsung S3C24XX, S3C64XX and other series of SoC
Quoted 6 lines
drivers/hwmon/Kconfig config SENSORS_SHT15 · line 756
Quoted 6 lines
drivers/hwmon/Kconfig +1
-1This driver can also be built as a module. If so, the module - will be called s3c-hwmo. + will be called s3c-hwmon. config SENSORS_S3C_RAW bool "Include raw channel attributes in sysfs"
Applied, thanks.
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors