On Wed, Jan 03, 2024 at 10:03:14AM +0800, Yajun Deng wrote:
On 2024/1/3 01:34, Russell King (Oracle) wrote:... which is fine for those other drivers because they don't share the
I'm not sure why this consistency is even desired, the commit messageMost drivers use device_driver directly. This should be added to the commit.
doesn't properly say _why_ this change is being proposed.
Like this:
struct sdio_driver {
... ...
struct device_driver drv;
};
struct pcie_port_service_driver {
... ...
struct device_driver driver;
};
and so on ...
same bus. That is not the case here - we have two different classes
of drivers on the same bus.
I don't like a justification that just because other subsystems do
something in one particular way, that is the only way things should be
done. I think there is good reason to have the structure we have, and
thus there needs to be a good reason to change it.
Maybe Andrew has a different opinion, but I think we need a better
justification for this change.