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

regulator: 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>
Link: https://patch.msgid.link/20250626152307.322627-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Andy Shevchenko and committed by
Mark Brown
ce57bc97 53e1d4a8

+2 -1
+2 -1
include/linux/regulator/coupler.h
··· 8 8 #ifndef __LINUX_REGULATOR_COUPLER_H_ 9 9 #define __LINUX_REGULATOR_COUPLER_H_ 10 10 11 - #include <linux/kernel.h> 11 + #include <linux/errno.h> 12 + #include <linux/types.h> 12 13 #include <linux/suspend.h> 13 14 14 15 struct regulator_coupler;