[PATCH v5 03/11] nvmem: Add a simple NVMEM framework for nvmem providers
srinivas.kandagatla at linaro.org
Wed Jun 24 03:05:46 PDT 2015
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.
>>>> >>>+ 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.
> And there's this post from Kay that alludes to a unification of busses
> and classes. And some other post where Kay says class is dead .
Thanks for the links,
Yep, looks like Class is dead, I will change the code to use bus type
More information about the linux-arm-kernel