iio: adc: ti_am335x_adc: refactor DT parsing into a function
authorVignesh R <vigneshr@ti.com>
Tue, 31 Mar 2015 11:12:36 +0000 (16:42 +0530)
committerJonathan Cameron <jic23@kernel.org>
Thu, 9 Apr 2015 14:13:16 +0000 (15:13 +0100)
commitdee1f55057aeb61839f985b2cf7fff82789335d5
treea21d337d4a7582c84077e565734b1717cf9a8b56
parentd02e0f8f62f786e9291caf4633e20724c2ab7f99
iio: adc: ti_am335x_adc: refactor DT parsing into a function

Refactor DT parsing into a separate function from probe() to
help addition of more DT parameters later.

No functional changes.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/ti_am335x_adc.c