Skip to contentSkip to conversation

alpha: remove unnecessary architecture-specific <asm/device.h>

PATCH In review Ethan Nelson-Moore 2 participants 2 messages May 17 – Jun 2 Alpha port

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 alpha: remove unnecessary architecture-specific <asm/device.h>

arch/alpha/include/asm/device.h simply includes <asm-generic/device.h>, and therefore the Alpha-specific version is unnecessary. Remove it.

---
 arch/alpha/include/asm/device.h | 6 ------
 1 file changed, 6 deletions(-)
 delete mode 100644 arch/alpha/include/asm/device.h
arch/alpha/include/asm/device.h deleted +0 -6
deleted file mode 100644
index 9ca75a7db23e..000000000000
@@ -1,6 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/*
- * Arch specific extensions to struct device
- */
-#include <asm-generic/device.h>
-
Signature · 1 line
2.43.0
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 23 lines · Ethan Nelson-Moore

arch/alpha/include/asm/device.h simply includes <asm-generic/device.h>, and therefore the Alpha-specific version is unnecessary. Remove it.

---
 arch/alpha/include/asm/device.h | 6 ------
 1 file changed, 6 deletions(-)
 delete mode 100644 arch/alpha/include/asm/device.h
arch/alpha/include/asm/device.h deleted +0 -7
deleted file mode 100644
index 9ca75a7db23e..000000000000
@@ -1,6 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/*
- * Arch specific extensions to struct device
- */
-#include <asm-generic/device.h>
-
--
Quoted 2 lines

2.43.0

Looks good to me. Alpha does not add anything architecture-specific here, so falling back to the generic header is fine.