leds: apu: drop superseeded apu2/3 led support
authorEnrico Weigelt <info@metux.net>
Mon, 15 Jul 2019 14:57:28 +0000 (16:57 +0200)
committerJacek Anaszewski <jacek.anaszewski@gmail.com>
Mon, 22 Jul 2019 19:55:09 +0000 (21:55 +0200)
commit0344e6166bbf90ad3fe05497ffe754bd65f9e7ac
tree531673ba8163a19a167bc1fd3771326e02409982
parent967ea03cc345d86c8e134d7610e61a3012046407
leds: apu: drop superseeded apu2/3 led support

This driver only supports gpio-attached LEDs on apu1/2/3 boards,
but neither gpio's themselves, nor other gpio-attached devices
(eg. front button).

For apu2+ a newer, more complete driver exists, based on a generic
driver for the AMD SOCs gpio-controller, supporting LEDs as well
other devices. Therefore these boards don't need legacy support
from this driver anymore.

Both drivers claim the same device, so only one driver may exist
in a system, putting distros in the position to decide between
either apu2+ keys or apu1 led support.

Therefore drop the apu2+ led support from the old driver, solve
the conflict and reduce unnecessary code.

Signed-off-by: Enrico Weigelt <info@metux.net>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
drivers/leds/Kconfig
drivers/leds/leds-apu.c