Rename the privacy LED type, struct member, and functions from "pled" to "led" in preparation for supporting additional LED types beyond just the privacy LED. No functional change.
Showing the changes to include/linux/platform_data (1 of 3 files). Show all
Unified · Split
| @@ -122,12 +122,12 @@ struct int3472_discrete_device { · 121 unmodified lines | ||
| 122 | 122 | u8 imgclk_index; |
| 123 | 123 | } clock; |
| 124 | 124 | |
| 125 | − struct int3472_pled { | |
| 125 | + struct int3472_led { | |
| 126 | 126 | struct led_classdev classdev; |
| 127 | 127 | struct led_lookup_data lookup; |
| 128 | 128 | char name[INT3472_LED_MAX_NAME_LEN]; |
| 129 | 129 | struct gpio_desc *gpio; |
| 130 | − } pled; | |
| 130 | + } led; | |
| 131 | 131 | |
| 132 | 132 | struct int3472_discrete_quirks quirks; |
| 133 | 133 | |
| @@ -161,7 +161,7 @@ int skl_int3472_register_regulator(struct int3472_discrete_device *int3472, · 27 unmodified lines | ||
| 161 | 161 | const char *second_sensor); |
| 162 | 162 | void skl_int3472_unregister_regulator(struct int3472_discrete_device *int3472); |
| 163 | 163 | |
| 164 | −int skl_int3472_register_pled(struct int3472_discrete_device *int3472, struct gpio_desc *gpio); | |
| 165 | −void skl_int3472_unregister_pled(struct int3472_discrete_device *int3472); | |
| 164 | +int skl_int3472_register_led(struct int3472_discrete_device *int3472, struct gpio_desc *gpio); | |
| 165 | +void skl_int3472_unregister_led(struct int3472_discrete_device *int3472); | |
| 166 | 166 | |
| 167 | 167 | #endif |