History

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.

Thomas Zimmermann committed 3 years ago

Commit ed369de1 parent 7b91d013 files · +5 −5Browse files

Showing the changes to include/linux/platform_data (1 of 3 files). Show all

Unified · Split

include/linux/platform_data/gpio_backlight.h+1−1
@@ -8,7 +8,7 @@ · 7 unmodified lines
88 struct device;
99
1010 struct gpio_backlight_platform_data {
11− struct device *fbdev;
11+ struct device *dev;
1212 };
1313
1414 #endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t