no we do not need that, I can update that in next version.-You no longer need any parameters for this function, right?
const struct attribute_group **nvmem_sysfs_get_groups(
struct nvmem_device *nvmem,
const struct nvmem_config *config)
We have a use case where in the user can chose to not have sysfs entry, specially if we have hypervisor trapping access to some range of entries in nvmem. This is enforced using CONFIG_NVMEM_SYSFS option.
Also, you really don't even need the function, just point to the
variable instead.
thanks,