Skip to content

RFC gpio-backlight: remove platform data support

Dmitry Torokhov linux-fbdev linux-sh lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4backlight: gpio_backlight: use generic device propertiesdrivers/video/backlight/gpio_backlight.c+2 -101 reply
2/4sh: ecovec24: conditionally register backlight devicearch/sh/boards/mach-ecovec24/setup.c+17 -710 replies
3/4sh: ecovec24: convert backlight to use device propertiesarch/sh/boards/mach-ecovec24/setup.c+15 -83 replies
4/4backlight: gpio_backlight: remove platform data supportdrivers/video/backlight/gpio_backlight.c include/linux/platform_data/gpio_backlight.h+14 -911 reply

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLinus Walleij
SeriesR-b
1/4R-b
2/4
3/4
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC 0/4] gpio-backlight: remove platform data support

Hi,

This series attempts to remove platform data support from gpio_blackllist driver and switch it over to generic device properties/GPIO tables. The only user of platform data was SuperH Ecovec24 board; please take a look at patch #2 that tries to only register backlight when the board is using LDC and not DVI.

Please note that I do not have the hardware (do we even care about ecovec24? I'd like to rip out platform data support from tsc2007 as well, but ecovec24 is using custom pendown handler and GPIOs have to be switched off from interrupt mode to GPIO and back in that pendown handler, which is all quite messy. If we do not care about this board I'd much rather removed that custom pendown).

Thanks!

Dmitry Torokhov (4):
backlight: gpio_backlight: use generic device properties
sh: ecovec24: conditionally register backlight device
sh: ecovec24: convert backlight to use device properties
backlight: gpio_backlight: remove platform data support

 arch/sh/boards/mach-ecovec24/setup.c         | 47 ++++++----
 drivers/video/backlight/gpio_backlight.c     | 93 +++-----------------
 include/linux/platform_data/gpio_backlight.h | 20 -----
 3 files changed, 46 insertions(+), 114 deletions(-)
 delete mode 100644 include/linux/platform_data/gpio_backlight.h
Signature · 1 line
Dmitry