All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] score: remove wrapper header for asm/device.h
@ 2017-05-17 12:36 Tobias Klauser
  0 siblings, 0 replies; only message in thread
From: Tobias Klauser @ 2017-05-17 12:36 UTC (permalink / raw)
  To: Chen Liqin, Lennox Wu; +Cc: linux-kernel

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@distanz.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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-05-17 12:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-17 12:36 [PATCH] score: remove wrapper header for asm/device.h Tobias Klauser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.