Input: ads7846 - add regulator support
authorGrazvydas Ignotas <notasas@gmail.com>
Thu, 25 Feb 2010 10:04:56 +0000 (02:04 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 25 Feb 2010 10:07:07 +0000 (02:07 -0800)
commit91143379b01b2020d8878d627ebe9dfb9d6eb4c8
tree35f523b4de3ef3e773e7ada4413306af2de25321
parenta1e1274747b2741188b554e35dc5d4056ef7beac
Input: ads7846 - add regulator support

The ADS7846/TSC2046 touchscreen controllers can (and usually are)
connected to various regulators for power, so add regulator support.

Valid regulator will now be required, so boards without complete
regulator setup should either disable regulator framework or enable
CONFIG_REGULATOR_DUMMY.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/ads7846.c