Skip to content

Commit dd1902b

Browse files
andy-shevlag-linaro
authored andcommitted
mfd: wm8350-core: 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. Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Charles Keepax <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
1 parent 96ecc71 commit dd1902b

File tree

1 file changed

+7
-3
lines changed
  • include/linux/mfd/wm8350

1 file changed

+7
-3
lines changed

include/linux/mfd/wm8350/core.h

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@
88
#ifndef __LINUX_MFD_WM8350_CORE_H_
99
#define __LINUX_MFD_WM8350_CORE_H_
1010

11-
#include <linux/kernel.h>
12-
#include <linux/mutex.h>
13-
#include <linux/interrupt.h>
1411
#include <linux/completion.h>
12+
#include <linux/errno.h>
13+
#include <linux/interrupt.h>
14+
#include <linux/mutex.h>
1515
#include <linux/regmap.h>
16+
#include <linux/types.h>
1617

1718
#include <linux/mfd/wm8350/audio.h>
1819
#include <linux/mfd/wm8350/gpio.h>
@@ -21,6 +22,9 @@
2122
#include <linux/mfd/wm8350/supply.h>
2223
#include <linux/mfd/wm8350/wdt.h>
2324

25+
struct device;
26+
struct platform_device;
27+
2428
/*
2529
* Register values.
2630
*/

0 commit comments

Comments
 (0)