Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <andriy.shevchenko@linux.intel.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20250626155951.325683-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Lee Jones <lee@kernel.org>

authored by

Andy Shevchenko and committed by
Lee Jones
dd1902b6 96ecc71f

+7 -3
+7 -3
include/linux/mfd/wm8350/core.h
··· 8 8 #ifndef __LINUX_MFD_WM8350_CORE_H_ 9 9 #define __LINUX_MFD_WM8350_CORE_H_ 10 10 11 - #include <linux/kernel.h> 12 - #include <linux/mutex.h> 13 - #include <linux/interrupt.h> 14 11 #include <linux/completion.h> 12 + #include <linux/errno.h> 13 + #include <linux/interrupt.h> 14 + #include <linux/mutex.h> 15 15 #include <linux/regmap.h> 16 + #include <linux/types.h> 16 17 17 18 #include <linux/mfd/wm8350/audio.h> 18 19 #include <linux/mfd/wm8350/gpio.h> ··· 21 20 #include <linux/mfd/wm8350/rtc.h> 22 21 #include <linux/mfd/wm8350/supply.h> 23 22 #include <linux/mfd/wm8350/wdt.h> 23 + 24 + struct device; 25 + struct platform_device; 24 26 25 27 /* 26 28 * Register values.