linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFT 0/4] backlight: gpio: simplify the driver
@ 2019-06-28 10:02 Bartosz Golaszewski
  2019-06-28 10:02 ` [PATCH RFT 1/4] sh: ecovec24: add additional properties to the backlight device Bartosz Golaszewski
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Bartosz Golaszewski @ 2019-06-28 10:02 UTC (permalink / raw)
  To: Yoshinori Sato, Rich Felker, Lee Jones, Daniel Thompson,
	Jingoo Han, Bartlomiej Zolnierkiewicz, Linus Walleij
  Cc: linux-sh, linux-kernel, dri-devel, linux-fbdev,
	Bartosz Golaszewski

From: Bartosz Golaszewski <bgolaszewski@baylibre.com>

While working on my other series related to gpio-backlight[1] I noticed
that we could simplify the driver if we made the only user of platform
data use GPIO lookups and device properties. This series tries to do
that.

The first patch sets up all the required structures in the board file,
the second modifies the backlight driver, the third and fourth remove
the leftovers.

This series depends on the three first patches from [1].

I don't have access to this HW but hopefully this works. Only compile
tested.

[1] https://lkml.org/lkml/2019/6/25/900

Bartosz Golaszewski (4):
  sh: ecovec24: add additional properties to the backlight device
  backlight: gpio: simplify the platform data handling
  sh: ecovec24: don't set unused fields in platform data
  backlight: gpio: remove unused fields from platform data

 arch/sh/boards/mach-ecovec24/setup.c         | 33 ++++++++++----
 drivers/video/backlight/gpio_backlight.c     | 46 ++++++--------------
 include/linux/platform_data/gpio_backlight.h |  3 --
 3 files changed, 38 insertions(+), 44 deletions(-)

-- 
2.21.0

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-07-02  9:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-28 10:02 [PATCH RFT 0/4] backlight: gpio: simplify the driver Bartosz Golaszewski
2019-06-28 10:02 ` [PATCH RFT 1/4] sh: ecovec24: add additional properties to the backlight device Bartosz Golaszewski
2019-06-28 10:02 ` [PATCH RFT 2/4] backlight: gpio: simplify the platform data handling Bartosz Golaszewski
2019-06-28 10:02 ` [PATCH RFT 3/4] sh: ecovec24: don't set unused fields in platform data Bartosz Golaszewski
2019-06-28 10:02 ` [PATCH RFT 4/4] backlight: gpio: remove unused fields from " Bartosz Golaszewski
2019-06-28 10:15 ` [PATCH RFT 0/4] backlight: gpio: simplify the driver Linus Walleij
2019-07-02  9:14   ` Daniel Thompson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).