]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
gpio: pca9570: Don't use "proxy" headers
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 13 Jan 2026 11:10:53 +0000 (12:10 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Tue, 13 Jan 2026 14:17:35 +0000 (15:17 +0100)
Update header inclusions to follow IWYU (Include What You Use)
principle.

Note that kernel.h is discouraged to be included as it's written
at the top of that file.

Reviewed-by: Linus Walleij <linusw@kernel.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20260113111156.188051-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
drivers/gpio/gpio-pca9570.c

index eae35135c71ed2eff4e7d054f85abbbba53d7ad6..a41837f1201bd4f0ceb86087bc17908215989a7f 100644 (file)
@@ -9,11 +9,15 @@
  *     Andrew F. Davis <afd@ti.com>
  */
 
+#include <linux/bits.h>
+#include <linux/device/devres.h>
+#include <linux/errno.h>
 #include <linux/gpio/driver.h>
 #include <linux/i2c.h>
 #include <linux/module.h>
 #include <linux/mutex.h>
 #include <linux/property.h>
+#include <linux/types.h>
 
 #define SLG7XL45106_GPO_REG    0xDB