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

From: Vivek Gautam
Date: Mon Dec 19 2016 - 23:04:11 EST


On Tue, Dec 20, 2016 at 3:17 AM, Stephen Boyd <sboyd@xxxxxxxxxxxxxx> wrote:
> 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>

Thanks Stephen.


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