Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

leds: expresswire: Don't use "proxy" headers

Update header inclusions to follow IWYU (Include What You Use)
principle.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Duje Mihanović <duje.mihanovic@skole.hr>
Link: https://lore.kernel.org/r/20240223203010.881065-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Lee Jones <lee@kernel.org>

authored by

Andy Shevchenko and committed by
Lee Jones
7774f3d1 d48ece99

+7 -1
+4
drivers/leds/leds-expresswire.c
··· 5 5 * ktd2692 and ktd2801 are known to use this protocol. 6 6 */ 7 7 8 + #include <linux/bits.h> 8 9 #include <linux/delay.h> 10 + #include <linux/export.h> 9 11 #include <linux/gpio/consumer.h> 12 + #include <linux/types.h> 13 + 10 14 #include <linux/leds-expresswire.h> 11 15 12 16 void expresswire_power_off(struct expresswire_common_props *props)
+3 -1
include/linux/leds-expresswire.h
··· 8 8 #ifndef _LEDS_EXPRESSWIRE_H 9 9 #define _LEDS_EXPRESSWIRE_H 10 10 11 - #include <linux/gpio/consumer.h> 11 + #include <linux/types.h> 12 + 13 + struct gpio_desc; 12 14 13 15 struct expresswire_timing { 14 16 unsigned long poweroff_us;