[PATCH 0/3] nvmem: use is_bin_visible callback
From: Srinivas Kandagatla
Date: Tue Mar 24 2020 - 13:16:21 EST
Hi Greg,
As suggested I managed to use is_bin_visible for the existing code and
one cleanup for using device_register/unregister directly instead of splitting.
Note: this does not add any new functionality, its just a cleanup
Thanks,
srini
Srinivas Kandagatla (3):
nvmem: core: use device_register and device_unregister
nvmem: core: add root_only member to nvmem device struct
nvmem: core: use is_bin_visible for permissions
drivers/nvmem/core.c | 8 ++--
drivers/nvmem/nvmem-sysfs.c | 74 +++++++++----------------------------
drivers/nvmem/nvmem.h | 1 +
3 files changed, 22 insertions(+), 61 deletions(-)
--
2.21.0