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

From: Srinivas Kandagatla
Date: Tue Jan 15 2019 - 07:40:43 EST


On 06/01/2019 19:28, Alban Bedel wrote:
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(-)


Thanks Alban for the work!
Most of the patches look good to me except nvmem_cell_get_optional()!

Will send out comments on that patch separately!

-srini