History

platform/x86: int3472: Rename pled to led in LED registration code

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.

Marco Nenciarini committed 7 months ago

Commit 39237e31 parent d6116d83 files · +13 −13Browse files

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

Unified · Split

include/linux/platform_data/x86/int3472.h+4−4
@@ -122,12 +122,12 @@ struct int3472_discrete_device { · 121 unmodified lines
122122 u8 imgclk_index;
123123 } clock;
124124
125− struct int3472_pled {
125+ struct int3472_led {
126126 struct led_classdev classdev;
127127 struct led_lookup_data lookup;
128128 char name[INT3472_LED_MAX_NAME_LEN];
129129 struct gpio_desc *gpio;
130− } pled;
130+ } led;
131131
132132 struct int3472_discrete_quirks quirks;
133133
@@ -161,7 +161,7 @@ int skl_int3472_register_regulator(struct int3472_discrete_device *int3472, · 27 unmodified lines
161161 const char *second_sensor);
162162 void skl_int3472_unregister_regulator(struct int3472_discrete_device *int3472);
163163
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);
166166
167167 #endif