iio: adc: at91_adc: rework trigger definition
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 28 Nov 2020 22:28:13 +0000 (23:28 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 3 Dec 2020 19:40:23 +0000 (19:40 +0000)
commit09d4726b0af6c867cb3884e5e924f778fe6bc79a
treeaf9f7bbc0072b199d272de34a2e34ab844e12a65
parent72820915817773e728b18c82545db040e56d17e7
iio: adc: at91_adc: rework trigger definition

Move the available trigger definition back in the driver to stop cluttering
the device tree. There is no functional change except that it actually
fixes the available triggers for at91sam9rl as it inherited the list from
at91sam9260 but actually has the triggers from at91sam9x5.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Reviewed-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Link: https://lore.kernel.org/r/20201128222818.1910764-6-alexandre.belloni@bootlin.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/at91_adc.c