From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Boyd Subject: Re: [PATCH] nvmem: core: Allow ignoring length when reading a cell Date: Mon, 19 Dec 2016 13:47:05 -0800 Message-ID: <20161219214705.GA5423@codeaurora.org> References: <1482130389-3164-1-git-send-email-vivek.gautam@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:51580 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754032AbcLSVrH (ORCPT ); Mon, 19 Dec 2016 16:47:07 -0500 Content-Disposition: inline In-Reply-To: <1482130389-3164-1-git-send-email-vivek.gautam@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Vivek Gautam Cc: srinivas.kandagatla@linaro.org, maxime.ripard@free-electrons.com, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org 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 > --- Reviewed-by: Stephen Boyd -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project