summaryrefslogtreecommitdiff
path: root/drivers/memory/of_memory.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2020-07-24 09:40:16 +0200
committerKrzysztof Kozlowski <krzk@kernel.org>2020-07-24 16:18:32 +0200
commita4022f6a2187e13f5dfb1a8ec4e8dd167fa1fdd4 (patch)
tree8b485f447c4090591f32246ed17446f6a44f6224 /drivers/memory/of_memory.c
parentc4f16e96d8fdd62ef12898fc0965c42093bed237 (diff)
memory: of: Remove unused headers
The of_memory.c does not use platform_device nor linked list. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'drivers/memory/of_memory.c')
-rw-r--r--drivers/memory/of_memory.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/memory/of_memory.c b/drivers/memory/of_memory.c
index 71f26eac7350..cfcb91eeccfb 100644
--- a/drivers/memory/of_memory.c
+++ b/drivers/memory/of_memory.c
@@ -7,8 +7,6 @@
*/
#include <linux/device.h>
-#include <linux/platform_device.h>
-#include <linux/list.h>
#include <linux/of.h>
#include <linux/gfp.h>
#include <linux/export.h>