iio: mxs-lradc: move TS config into suitable function
authorStefan Wahren <stefan.wahren@i2se.com>
Thu, 14 Apr 2016 15:48:26 +0000 (15:48 +0000)
committerJonathan Cameron <jic23@kernel.org>
Tue, 19 Apr 2016 18:58:10 +0000 (19:58 +0100)
commit9cf6fcc15aa90bf742fc3d9325992867c130e6ce
tree7c4b6767b8fddd2906cfc4e9e028c59590f1fa34
parent534536acdb25bae85a5333b7085837b3f1f72b73
iio: mxs-lradc: move TS config into suitable function

This patch moves the touchscreen type configuration into
a more suitable function. Btw this simplifies PM ops later.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Tested-by: Marek Vasut <marex@denx.de>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/mxs-lradc.c