iio: mxs-lradc: simplify TS registration
authorStefan Wahren <stefan.wahren@i2se.com>
Sat, 23 Apr 2016 19:57:57 +0000 (19:57 +0000)
committerJonathan Cameron <jic23@kernel.org>
Wed, 4 May 2016 09:44:26 +0000 (10:44 +0100)
commita91e0b6de468cc4413d8ca260ed4ed0366dfb5b7
tree99a0940527c701e9fd88d210fd7fc7abff388fa5
parent32133be6768257726b57094f673415418cb3dc48
iio: mxs-lradc: simplify TS registration

This patch simplifies the TS registration of mxs-lradc by
using devm_input_allocate_device.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-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