mfd: wm8350-core: Don't use "proxy" headers
Subsystems (2)
PATCH 1/1 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]>
--- include/linux/mfd/wm8350/core.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-)
include/linux/mfd/wm8350/core.h +7 -3
@@ -8,11 +8,12 @@#ifndef __LINUX_MFD_WM8350_CORE_H_#define __LINUX_MFD_WM8350_CORE_H_ -#include <linux/kernel.h> -#include <linux/mutex.h> -#include <linux/interrupt.h> #include <linux/completion.h> +#include <linux/errno.h> +#include <linux/interrupt.h> +#include <linux/mutex.h> #include <linux/regmap.h> +#include <linux/types.h> #include <linux/mfd/wm8350/audio.h> #include <linux/mfd/wm8350/gpio.h>
@@ -21,6 +22,9 @@#include <linux/mfd/wm8350/supply.h> #include <linux/mfd/wm8350/wdt.h> +struct device ; +struct platform_device ; +/* * Register values. */
Signature · 1 line
2.47.2
Quoted 8 lines · Andy Shevchenko
Update header inclusions to follow IWYU (Include What You Use) principle.
Note that
kernel.his 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]>
Thanks,
Charles
Re: (subset) [PATCH v1 1/1] mfd: wm8350-core: Don't use "proxy" headers
In reply to Andy ShevchenkoQuoted 8 lines · Andy Shevchenko
Update header inclusions to follow IWYU (Include What You Use) principle.
Note that
kernel.his discouraged to be included as it's written at the top of that file.[...]
Applied, thanks!
[1/1] mfd: wm8350-core: Don't use "proxy" headers
commit: 4fe2e96c88afde2f06485f90b7b01e2a45eb99e4
--
Lee Jones [李琼斯]