[PATCH v3 0/2] nvmem: Add support for write-only instances, and clean-up
From: Nicholas Johnson
Date: Mon Mar 09 2020 - 13:49:16 EST
Hello all,
Previous version: https://lkml.org/lkml/2020/3/2/693
Changed since previous version:
- Fixed memory leak when returning from nvmem_register().
- The patch 2/3 from last time was applied by Srinivas, so dropping it:
https://lkml.org/lkml/2020/3/5/616
- I split the patches into two as I said I would.
- Mika Westerberg asked me to send patch 3/3 to him again after v5.7-rc1
is released, so drop it for now:
https://lore.kernel.org/lkml/20200306053455.GY2540@xxxxxxxxxxxxxxxxxx/
- Removed comment from last return in nvmem_sysfs_get_groups() to avoid
confusion.
Nicholas Johnson (2):
nvmem: Allow nvmem_sysfs_get_groups() to return NULL as error
condition
nvmem: Add support for write-only instances
drivers/nvmem/core.c | 4 +++
drivers/nvmem/nvmem-sysfs.c | 56 +++++++++++++++++++++++++++++++------
2 files changed, 52 insertions(+), 8 deletions(-)
--
2.25.1