projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f36c54f
)
devres: don't use "proxy" headers
author
Andy Shevchenko
<andriy.shevchenko@linux.intel.com>
Wed, 3 Apr 2024 10:46:57 +0000
(13:46 +0300)
committer
Andrew Morton
<akpm@linux-foundation.org>
Fri, 26 Apr 2024 04:07:06 +0000
(21:07 -0700)
Update header inclusions to follow IWYU (Include What You Use) principle.
Link:
https://lkml.kernel.org/r/20240403104820.557487-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Philipp Stanner <pstanner@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/devres.c
patch
|
blob
|
history
diff --git
a/lib/devres.c
b/lib/devres.c
index 27f280a39dca59a5f340af67734d07de491bd7e9..4fc152de6d8bb1232aeca382a313bd9ff56b8f60 100644
(file)
--- a/
lib/devres.c
+++ b/
lib/devres.c
@@
-1,10
+1,13
@@
// SPDX-License-Identifier: GPL-2.0
+#include <linux/bug.h>
#include <linux/device.h>
-#include <linux/err.h>
-#include <linux/io.h>
-#include <linux/gfp.h>
+#include <linux/errno.h>
#include <linux/export.h>
+#include <linux/gfp_types.h>
+#include <linux/io.h>
+#include <linux/ioport.h>
#include <linux/of_address.h>
+#include <linux/types.h>
enum devm_ioremap_type {
DEVM_IOREMAP = 0,