mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-30 13:52:50 +01:00
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 <[email protected]> Cc: Rich Felker <[email protected]> Cc: John Paul Adrian Glaubitz <[email protected]> Cc: Lee Jones <[email protected]> Cc: Daniel Thompson <[email protected]> Cc: Jingoo Han <[email protected]> Cc: [email protected] Reviewed-by: Sam Ravnborg <[email protected]> Reviewed-by: Daniel Thompson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
15 lines
251 B
C
15 lines
251 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* gpio_backlight.h - Simple GPIO-controlled backlight
|
|
*/
|
|
#ifndef __GPIO_BACKLIGHT_H__
|
|
#define __GPIO_BACKLIGHT_H__
|
|
|
|
struct device;
|
|
|
|
struct gpio_backlight_platform_data {
|
|
struct device *dev;
|
|
};
|
|
|
|
#endif
|