Skip to content

Commit 2038d3f

Browse files
andy-shevlag-linaro
authored andcommitted
leds: gpio: Update headers
Include headers which we are direct users of, no need to have proxies. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20231016161005.1471768-6-andriy.shevchenko@linux.intel.com Signed-off-by: Lee Jones <lee@kernel.org>
1 parent 7b2d8a0 commit 2038d3f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

drivers/leds/leds-gpio.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,21 @@
66
* Raphael Assenat <raph@8d.com>
77
* Copyright (C) 2008 Freescale Semiconductor, Inc.
88
*/
9+
#include <linux/container_of.h>
10+
#include <linux/device.h>
911
#include <linux/err.h>
1012
#include <linux/gpio.h>
1113
#include <linux/gpio/consumer.h>
12-
#include <linux/kernel.h>
1314
#include <linux/leds.h>
1415
#include <linux/mod_devicetable.h>
1516
#include <linux/module.h>
17+
#include <linux/overflow.h>
1618
#include <linux/pinctrl/consumer.h>
1719
#include <linux/platform_device.h>
1820
#include <linux/property.h>
1921
#include <linux/slab.h>
22+
#include <linux/types.h>
23+
2024
#include "leds.h"
2125

2226
struct gpio_led_data {

0 commit comments

Comments
 (0)