I agree, but once we add sysfs uapi then this is going to change.Greg said it was not. I hope I understood correctly 😄+This is going to create groups after the nvmem device is added, isn't this going to be problem with user space notifications?
+ nvmem_cells_group.bin_attrs = cells_attrs;
+
+ ret = devm_device_add_groups(&nvmem->dev, nvmem_cells_groups);
+ if (ret)
+ goto unlock_mutex;
And anyway, cells have never been available to userspace, so there is
nothing userspace might expect yet?
Thanks,
Miquèl