summaryrefslogtreecommitdiffstats
path: root/drivers/w1
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-03-07 16:35:51 +0200
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2024-03-25 12:06:37 +0100
commitcde37a5bdb0ed2c4c7b86ef688e5fdb697525a57 (patch)
tree79a53845e8c4f5a4be7099695ae5ff6733804548 /drivers/w1
parent540d3f15c0aa2baf7e9b48a4e516391c179daab2 (diff)
downloadlinux-stable-cde37a5bdb0ed2c4c7b86ef688e5fdb697525a57.tar.gz
linux-stable-cde37a5bdb0ed2c4c7b86ef688e5fdb697525a57.tar.bz2
linux-stable-cde37a5bdb0ed2c4c7b86ef688e5fdb697525a57.zip
w1: gpio: 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> Link: https://lore.kernel.org/r/20240307143644.3787260-6-andriy.shevchenko@linux.intel.com Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Diffstat (limited to 'drivers/w1')
-rw-r--r--drivers/w1/masters/w1-gpio.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/w1/masters/w1-gpio.c b/drivers/w1/masters/w1-gpio.c
index 8fd9fedd8c56..a39fa8bf866a 100644
--- a/drivers/w1/masters/w1-gpio.c
+++ b/drivers/w1/masters/w1-gpio.c
@@ -5,15 +5,15 @@
* Copyright (C) 2007 Ville Syrjala <syrjala@sci.fi>
*/
-#include <linux/init.h>
+#include <linux/delay.h>
+#include <linux/device.h>
+#include <linux/err.h>
+#include <linux/gpio/consumer.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/property.h>
-#include <linux/slab.h>
-#include <linux/gpio/consumer.h>
-#include <linux/err.h>
-#include <linux/delay.h>
+#include <linux/types.h>
#include <linux/w1.h>