leds: Modify PC Engines apu/apu2 driver to support apu3
authorRaffaello D. Di Napoli <rafdev@dinapo.li>
Mon, 25 Jun 2018 12:50:02 +0000 (08:50 -0400)
committerJacek Anaszewski <jacek.anaszewski@gmail.com>
Thu, 28 Jun 2018 19:34:43 +0000 (21:34 +0200)
commit8cb21086cc6359c6d4f003a788050308afb211ad
tree2efa779daae33fda33c7b7f3349b30853a1f4952
parentd30c8d2031259d6dc360f8c96d362bb36665c99c
leds: Modify PC Engines apu/apu2 driver to support apu3

PC Engines apu3 is an improved version of the apu2, using the same SoC
and almost everything else.

This patch reuses as much as possible from the apu2 definitions, to
avoid redundancy.

Signed-off-by: Raffaello D. Di Napoli <rafdev@dinapo.li>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
drivers/leds/Kconfig
drivers/leds/leds-apu.c