[PATCH] treewide: remove stale instances of struct device

Masahiro Yamada masahiroy at kernel.org
Tue Aug 4 01:02:16 EDT 2020


On Tue, Aug 4, 2020 at 6:22 AM Sascha Hauer <s.hauer at pengutronix.de> wrote:
>
> On Tue, Jul 21, 2020 at 08:15:23AM +0200, Ahmad Fatoum wrote:
> > We call it struct device_d, any instances of struct device are likely
> > left-over code after porting from Linux.
> >
> > Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> > ---
> >  drivers/crypto/caam/intern.h   | 5 -----
> >  drivers/crypto/caam/jr.h       | 2 --
> >  drivers/gpio/gpio-sx150x.c     | 1 -
> >  drivers/usb/musb/musb_gadget.c | 9 ---------
> >  4 files changed, 17 deletions(-)
>
> Applied, thanks
>
> Sascha


Why doesn't barebox use (struct device)?

(Of course its implementation is much simpler
than that of Linux).




-- 
Best Regards
Masahiro Yamada



More information about the barebox mailing list