Re: [PATCH] alpha: remove unnecessary architecture-specific <asm/device.h>
Magnus Lindholm <[email protected]> Tue, 2 Jun 2026 06:58:22 +0200
| Newsgroups | org.kernel.vger.linux-alpha |
|---|---|
| Message-ID | <CA+=Fv5QFbrkMj6cRYKuZaOY+dt+QbEbKSV9-urko5z5bRbkhrw@mail.gmail.com> |
On Mon, May 18, 2026 at 1:32 AM Ethan Nelson-Moore <[email protected]> wrote: > > 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 > > diff --git a/arch/alpha/include/asm/device.h b/arch/alpha/include/asm/device.h > deleted file mode 100644 > index 9ca75a7db23e..000000000000 > --- a/arch/alpha/include/asm/device.h > +++ /dev/null > @@ -1,6 +0,0 @@ > -/* SPDX-License-Identifier: GPL-2.0-only */ > -/* > - * Arch specific extensions to struct device > - */ > -#include <asm-generic/device.h> > - > -- > 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]>