Skip to content

Commit 053578d

Browse files
andy-shevBartosz Golaszewski
authored andcommitted
gpio: pca9570: Don't use "proxy" headers
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>
1 parent e05ef04 commit 053578d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

drivers/gpio/gpio-pca9570.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,15 @@
99
* Andrew F. Davis <afd@ti.com>
1010
*/
1111

12+
#include <linux/bits.h>
13+
#include <linux/device/devres.h>
14+
#include <linux/errno.h>
1215
#include <linux/gpio/driver.h>
1316
#include <linux/i2c.h>
1417
#include <linux/module.h>
1518
#include <linux/mutex.h>
1619
#include <linux/property.h>
20+
#include <linux/types.h>
1721

1822
#define SLG7XL45106_GPO_REG 0xDB
1923

0 commit comments

Comments
 (0)