aboutsummaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2023-06-13 13:06:37 +0200
committerThomas Zimmermann <[email protected]>2023-06-27 09:58:48 +0200
commit471d4ee1008d17e899a3ad0a2d422295c05ed830 (patch)
tree4aa820b66f0d9bd15c832f28a9a381e831e0ec0c /include/linux/platform_data
parent992bdddaabfba19bdc77c1c7a4977b2aa41ec891 (diff)
backlight/bd6107: Rename struct bd6107_platform_data.fbdev to 'dev'
Rename struct bd6107_platform_data.fbdev to 'dev', as it stores a pointer to the Linux platform device; not the fbdev device. Makes the code easier to understand. Signed-off-by: Thomas Zimmermann <[email protected]> Cc: Lee Jones <[email protected]> Cc: Daniel Thompson <[email protected]> Cc: Jingoo Han <[email protected]> Reviewed-by: Javier Martinez Canillas <[email protected]> Reviewed-by: Sam Ravnborg <[email protected]> Reviewed-by: Daniel Thompson <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/bd6107.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/platform_data/bd6107.h b/include/linux/platform_data/bd6107.h
index 54a06a4d2618..596ca4f95cfa 100644
--- a/include/linux/platform_data/bd6107.h
+++ b/include/linux/platform_data/bd6107.h
@@ -8,7 +8,7 @@
struct device;
struct bd6107_platform_data {
- struct device *fbdev;
+ struct device *dev;
unsigned int def_value;
};