]> git.karo-electronics.de Git - linux-beck.git/commit
iio: adc: at91: cleanup platform_data
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 15 Apr 2014 10:27:58 +0000 (12:27 +0200)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 7 May 2014 16:28:39 +0000 (18:28 +0200)
commit2de0c019f34ffbe49744c453628afb270aa9adb6
tree373fb69307927a11d8eeb31d56a786336b962fdb
parentacc8b8e10754edf2cfd81b8ce1fe8e1438ec3f00
iio: adc: at91: cleanup platform_data

num_channels and registers are not used anymore since they are defined inside
the driver and assigned by matching the id_table.

Also, struct at91_adc_reg_desc is now only used inside the driver.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
drivers/iio/adc/at91_adc.c
include/linux/platform_data/at91_adc.h