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.
Showing the changes to include/linux/platform_data (1 of 3 files). Show all
Unified · Split
| @@ -8,7 +8,7 @@ · 7 unmodified lines | |||
| 8 | struct device; | 8 | struct device; |
| 9 | 9 | ||
| 10 | struct gpio_backlight_platform_data { | 10 | struct gpio_backlight_platform_data { |
| 11 | struct device *fbdev; | 11 | struct device *dev; |
| 12 | }; | 12 | }; |
| 13 | 13 | ||
| 14 | #endif | 14 | #endif |