backlight/gpio_backlight: Rename field 'fbdev' to 'dev'
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 13 Jun 2023 11:06:39 +0000 (13:06 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 27 Jun 2023 07:58:48 +0000 (09:58 +0200)
commited369def91c1579a34cd6f9494e4614745430322
tree13ec7d5bad79b978191d92128b3a3dc8bd175b82
parent7b91d017f77c1bda56f27c2f4bbb70de7c6eca08
backlight/gpio_backlight: Rename field 'fbdev' to 'dev'

Rename the field 'fbdev' in struct gpio_backlight_platform_data and
struct gpio_backlight to 'dev', as they store pointers to the Linux
platform device; not the fbdev device. Makes the code easier to
understand.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Rich Felker <dalias@libc.org>
Cc: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Cc: Lee Jones <lee@kernel.org>
Cc: Daniel Thompson <daniel.thompson@linaro.org>
Cc: Jingoo Han <jingoohan1@gmail.com>
Cc: linux-sh@vger.kernel.org
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230613110953.24176-5-tzimmermann@suse.de
arch/sh/boards/mach-ecovec24/setup.c
drivers/video/backlight/gpio_backlight.c
include/linux/platform_data/gpio_backlight.h