Re: [PATCH] nvmem: core: Allow ignoring length when reading a cell

From: Stephen Boyd
Date: Mon Dec 19 2016 - 16:47:14 EST


On 12/19, Vivek Gautam wrote:
> nvmem_cell_read() API fills in the argument 'len' with
> the number of bytes read from the cell. Many users don't
> care about this length value. So allow users to pass a
> NULL pointer to this len field.
>
> Signed-off-by: Vivek Gautam <vivek.gautam@xxxxxxxxxxxxxx>
> ---

Reviewed-by: Stephen Boyd <sboyd@xxxxxxxxxxxxxx>

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project