[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20170517123601.25167-1-tklauser@distanz.ch>
Date: Wed, 17 May 2017 14:36:01 +0200
From: Tobias Klauser <tklauser@...tanz.ch>
To: Chen Liqin <liqin.linux@...il.com>, Lennox Wu <lennox.wu@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] score: remove wrapper header for asm/device.h
score's asm/device.h is merely including asm-generic/device.h. Thus, the
arch specific header can be omitted and the generic header can be used
directly
Signed-off-by: Tobias Klauser <tklauser@...tanz.ch>
---
arch/score/include/asm/Kbuild | 1 +
arch/score/include/asm/device.h | 6 ------
2 files changed, 1 insertion(+), 6 deletions(-)
delete mode 100644 arch/score/include/asm/device.h
diff --git a/arch/score/include/asm/Kbuild b/arch/score/include/asm/Kbuild
index 54b3b2039af1..c835a5e5d6f3 100644
--- a/arch/score/include/asm/Kbuild
+++ b/arch/score/include/asm/Kbuild
@@ -1,6 +1,7 @@
generic-y += barrier.h
generic-y += clkdev.h
generic-y += current.h
+generic-y += device.h
generic-y += extable.h
generic-y += irq_work.h
generic-y += mcs_spinlock.h
diff --git a/arch/score/include/asm/device.h b/arch/score/include/asm/device.h
deleted file mode 100644
index 2dc7cc5d5ef9..000000000000
--- a/arch/score/include/asm/device.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef _ASM_SCORE_DEVICE_H
-#define _ASM_SCORE_DEVICE_H
-
-#include <asm-generic/device.h>
-
-#endif /* _ASM_SCORE_DEVICE_H */
--
2.13.0
Powered by blists - more mailing lists