[PATCH 0/8] nvmem: Various small fixes and improvements

From: Alban Bedel
Date: Sun Jan 06 2019 - 14:28:33 EST


Hi,

this series is mostly small bug fixes, but also add a new API
to make things simpler in drivers that need to request an optional cell.

Alban Bedel (8):
nvmem: core: Set the provider read-only when no write callback is
given
nvmem: core: Fix of_nvmem_cell_get() for optional cells
nvmem: Add nvmem_cell_get_optional and devm_nvmem_cell_get_optional
nvmem: core: Fix cell lookup when no cell is found
nvmem: core: Properly handle connection ID in of_nvmem_device_get()
nvmem: core: Always reference the device returned by
nvmem_device_get()
nvmem: core: Fix device reference leak
nvmem: core: Avoid useless iterations in nvmem_cell_get_from_lookup()

drivers/nvmem/core.c | 86 +++++++++++++++++++++++++++-------
include/linux/nvmem-consumer.h | 16 +++++++
2 files changed, 86 insertions(+), 16 deletions(-)

--
2.19.1