Re: [PATCH 12/14] nubus: Rename struct nubus_dev
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2017-11-13 08:57:40
Also in:
linux-fbdev, linux-m68k, lkml
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2017-11-13 08:57:40
Also in:
linux-fbdev, linux-m68k, lkml
Hi Finn, On Sat, Nov 11, 2017 at 7:12 AM, Finn Thain [off-list ref] wrote:
It is misleading to use "dev" to mean a functional resource. And in adopting the Linux Driver Model, struct nubus_board will embed a struct device. Drivers will then bind with boards, not with functional resources. Rename struct nubus_dev as struct nubus_functional_resource. This is the vendor's terminology and avoids confusion.
Isn't "struct nubus_functional_resource" a bit long?
What about "nubus_res"? "nubus_fres"?
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds