Thread (22 messages) 22 messages, 4 authors, 2021-12-29

Re: [PATCH v2 00/23] counter: cleanups and device lifetime fixes

From: Lars-Peter Clausen <lars@metafoo.de>
Date: 2021-12-27 12:25:36
Also in: linux-doc, linux-iio, lkml

On 12/27/21 10:45 AM, Uwe Kleine-König wrote:
[...]

  - I wonder why counter is a bus and not a class device type. There is
    no driver that would ever bind a counter device, is there? So
    /sys/bus/counter/driver is always empty.
There used to be a time when GKH said that we do not want new driver 
classes. And all new subsystems should use bus since bus is a superset 
of class. This restriction has been eased since then.

But it was around when the IIO subsystem was merged and since the 
counter subsystem originated from the IIO subsystem I assume it just 
copied this.


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help