Thread (153 messages) 153 messages, 15 authors, 2015-06-24

[PATCH v5 03/11] nvmem: Add a simple NVMEM framework for nvmem providers

From: Srinivas Kandagatla <hidden>
Date: 2015-06-24 10:06:03
Also in: linux-api, linux-arm-msm, linux-devicetree, lkml


On 24/06/15 01:24, Stephen Boyd wrote:
Can you assign the attributes to the device_type in the nvmem::struct
device? I don't see why these attributes need to be part of the class.
I will fix this.
quoted
quoted
quoted
quoted
quoted
quoted
+{
+    return class_register(&nvmem_class);
I thought class was on the way out? Aren't we supposed to use bus types
for new stuff?
Do you remember any conversation on the list about this? I could not
find it on web.

on the other hand, nvmem is not really a bus, making it a bus type
sounds incorrect to me.
I found this post on the cpu class that Sudeep tried to introduce[1].
And there's this post from Kay that alludes to a unification of busses
and classes[2]. And some other post where Kay says class is dead [3].
Thanks for the links,
Yep, looks like Class is dead, I will change the code to use bus type 
instead.
[1]https://lkml.org/lkml/2014/8/21/191
[2]https://lwn.net/Articles/471821/
[3]https://lkml.org/lkml/2010/11/11/17
--srini
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help