alpha: remove unnecessary architecture-specific <asm/device.h>
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.
Signed-off-by Ethan Nelson-Moore <[email protected]>
--- 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
@@ -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
Quoted 23 lines · Ethan Nelson-Moore
arch/alpha/include/asm/device.hsimply includes <asm-generic/device.h>, and therefore the Alpha-specific version is unnecessary. Remove it.Signed-off-by Ethan Nelson-Moore <[email protected]>--- arch/alpha/include/asm/device.h | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 arch/alpha/include/asm/device.harch/alpha/include/asm/device.h deleted +0
-7@@ -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.
Reviewed-by Magnus Lindholm <[email protected]>