]> git.baikalelectronics.ru Git - kernel.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)
commit51c300cd21b1a9dbb71930b6766695e0a2ec202a
tree373fb69307927a11d8eeb31d56a786336b962fdb
parent824fa5651e816aa4433daa5a2e2726f926159a0b
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