diff options
author | Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de> | 2012-03-23 10:02:19 +0100 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2012-03-23 10:02:19 +0100 |
commit | 0c2732152a5813a870d0b96f0844f4dfe1436519 (patch) | |
tree | e9ba0ad606d58085217b9a179b9bb508fc4d1d0a /drivers/hwmon/Kconfig | |
parent | cb88200490d723048994753ed59dc0abddc51e77 (diff) | |
download | op-kernel-dev-0c2732152a5813a870d0b96f0844f4dfe1436519.zip op-kernel-dev-0c2732152a5813a870d0b96f0844f4dfe1436519.tar.gz |
hwmon: (mc13783-adc) Add support for the MC13892 PMIC
Based on a patch by David Jander that mostly did s/mc13783/mc13xxx/ .
Additionally use dev_get_drvdata instead of to_platform_device +
platform_get_drvdata in mc13783_adc_read (spotted by Jean Delvare).
Cc: David Jander <david.jander@protonic.nl>
Signed-off-by: Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/hwmon/Kconfig')
-rw-r--r-- | drivers/hwmon/Kconfig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index fc3f4e1..7190a3f 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig @@ -1360,10 +1360,10 @@ config SENSORS_APPLESMC the awesome power of applesmc. config SENSORS_MC13783_ADC - tristate "Freescale MC13783 ADC" - depends on MFD_MC13783 + tristate "Freescale MC13783/MC13892 ADC" + depends on MFD_MC13XXX help - Support for the A/D converter on MC13783 PMIC. + Support for the A/D converter on MC13783 and MC13892 PMIC. if ACPI |