Skip to content

Commit ce57bc9

Browse files
andy-shevbroonie
authored andcommitted
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 <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 53e1d4a commit ce57bc9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/linux/regulator/coupler.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
#ifndef __LINUX_REGULATOR_COUPLER_H_
99
#define __LINUX_REGULATOR_COUPLER_H_
1010

11-
#include <linux/kernel.h>
11+
#include <linux/errno.h>
12+
#include <linux/types.h>
1213
#include <linux/suspend.h>
1314

1415
struct regulator_coupler;

0 commit comments

Comments
 (0)