x86: Remove unnecessary architecture-specific <asm/device.h>
authorEthan Nelson-Moore <enelsonmoore@gmail.com>
Sun, 17 May 2026 02:57:08 +0000 (19:57 -0700)
committerDave Hansen <dave.hansen@linux.intel.com>
Mon, 18 May 2026 23:50:09 +0000 (16:50 -0700)
commitc256d2a8adf2f5670ca262979c451ec4c1108e38
tree2fd5854377af649caa0c3dc7e71b8297063b0770
parent23aea3c539a62ab97ca3aecf41d590d91f2911fc
x86: Remove unnecessary architecture-specific <asm/device.h>

arch/x86/include/asm/device.h is identical to
include/asm-generic/device.h, and therefore the x86-specific version
is unnecessary. Remove it.

[ dhansen: Minor note: It looks like if asm/foo.h does not exist that
   the build system generates one that does a #include
   <asm-generic/foo.h>. Thus, all that needs to be done is
   remove the arch-specific one. ]

Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://patch.msgid.link/20260517025713.97791-1-enelsonmoore@gmail.com
arch/x86/include/asm/device.h [deleted file]