lkml.org 
[lkml]   [2019]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 0/8] nvmem: Various small fixes and improvements
From
Date
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

\
 
 \ /
  Last update: 2019-01-15 13:41    [W:0.178 / U:1.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site