regulator: core: Don't use "proxy" headers
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 26 Jun 2025 15:23:07 +0000 (18:23 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 26 Jun 2025 23:29:07 +0000 (00:29 +0100)
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>
include/linux/regulator/coupler.h

index 73291f280a23eaf124eb489b7d68731144492b4a..5e314a4294fb5f9b22a72fa62a1328ad054af8e0 100644 (file)
@@ -8,7 +8,8 @@
 #ifndef __LINUX_REGULATOR_COUPLER_H_
 #define __LINUX_REGULATOR_COUPLER_H_
 
-#include <linux/kernel.h>
+#include <linux/errno.h>
+#include <linux/types.h>
 #include <linux/suspend.h>
 
 struct regulator_coupler;