mfd: Provide a generic version of mc13xxx adc_do_conversion
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 24 Aug 2011 13:28:21 +0000 (15:28 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 24 Oct 2011 12:09:12 +0000 (14:09 +0200)
commitfec316d63219f610e5385f5e54e6c3ea459e58e9
treec3eb2e6352ccad730f93335edee789c58203b003
parentf3ca07824f309474b308d859c9a2cc871c6c5ab8
mfd: Provide a generic version of mc13xxx adc_do_conversion

This is needed to convert the touch driver away from using struct mc13783.

Note this patch drops MC13783_ADC0_ADREFMODE. This is unused and doesn't
exist on mc13892.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/mc13xxx-core.c
include/linux/mfd/mc13783.h
include/linux/mfd/mc13xxx.h