Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754727AbcLTEDz (ORCPT ); Mon, 19 Dec 2016 23:03:55 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:45388 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751432AbcLTEDx (ORCPT ); Mon, 19 Dec 2016 23:03:53 -0500 DMARC-Filter: OpenDMARC Filter v1.3.1 smtp.codeaurora.org AE55461481 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=pass smtp.mailfrom=vivek.gautam@codeaurora.org MIME-Version: 1.0 In-Reply-To: <20161219214705.GA5423@codeaurora.org> References: <1482130389-3164-1-git-send-email-vivek.gautam@codeaurora.org> <20161219214705.GA5423@codeaurora.org> From: Vivek Gautam Date: Tue, 20 Dec 2016 09:33:50 +0530 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] nvmem: core: Allow ignoring length when reading a cell To: Stephen Boyd Cc: Srinivas Kandagatla , Maxime Ripard , "linux-kernel@vger.kernel.org" , linux-arm-msm@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 574 Lines: 18 On Tue, Dec 20, 2016 at 3:17 AM, Stephen Boyd 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 >> --- > > Reviewed-by: Stephen Boyd Thanks Stephen. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project