Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3451566rdb; Wed, 13 Sep 2023 12:24:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEckljN9iPOVvnqNCDlW5JFIEHdvCUAHjsq8dcW2mMUqjeO9zCc1wt6MBWaqn58H/hWcfDb X-Received: by 2002:a05:6a21:3e0c:b0:14c:d105:2d16 with SMTP id bk12-20020a056a213e0c00b0014cd1052d16mr3097947pzc.32.1694633049720; Wed, 13 Sep 2023 12:24:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694633049; cv=none; d=google.com; s=arc-20160816; b=0svNlabp8yHoCndp5lmMaR5YhfygSNWHxKfKPDQG/wYbULfG6SRkMFyI4iwTIOBYnj T21YCj5WQCCbg2HUAtXrATEL3KGuXSsCtIcIri7Jjp9aAtrkReDti2iPdX/+1Kyw+O8W vC3sKCWuCjx6jQ2Xi5W/yb5r09wWg4xfjk1YaXej/J/Wt16ir6omlJKabCLdRWzG/lcg TchIKatAJeXx6ewd8lwdA4zHIoYVZnq22um38KIDNMDQWyzZT8HiZH1R9z8STPX/0wsr dMDU1JQQdkWAytlVUKyL554hpdwZSYlEPF8I3Z9eKSEJhOH6ucuLXDpXX9iMLW8qme4c I+3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=igNRCFDQnv7m9V/7Jgipx/VpEgWGzHOGiwXyXWBe3/8=; fh=gCCjifPM+ytur/FB1FHiGlCgD7KP59noIlslvlp7L04=; b=TbLLdIwI+8SMgigWTKMKqRIW/aooNeN9ZhCBlUtyEwJaEb93ITkfZxZaLa0LnzHSxd 8YyYsrEhS8hSSOpy2rK9L8YfD/trfb+82AdO4lvqebLa9o0SuzkPh2F0doEfikIlnLhh x7KJ6Llyh/L1+OVtPIn+DXSAncu8/5d111dh8DIT6Q6rowiMubHL41d0kBaH8KUIJWe3 /NJ1wwWc8POBe+04LG1bjkiTXTVvLVZueZ02IQgmwS/bHdszNzv7weL9GY5E4wgxU0vI O8WkLNs0HSP90uyJsKgg1rRBpnWh2reQf2KT6zfo15p1JQemtg7XkBj+poGMOC0mSGEX yWJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mANMcwjV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id h12-20020a63f90c000000b0054fe4cdd1a7si10277668pgi.716.2023.09.13.12.24.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 12:24:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mANMcwjV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 549CC817DD31; Wed, 13 Sep 2023 12:23:30 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232224AbjIMTXZ (ORCPT + 99 others); Wed, 13 Sep 2023 15:23:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232192AbjIMTXX (ORCPT ); Wed, 13 Sep 2023 15:23:23 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B3791999; Wed, 13 Sep 2023 12:23:20 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D6068C433C9; Wed, 13 Sep 2023 19:23:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694632999; bh=xHPajjcaSgUxOp3lOz5ae0i7Jgb7LDtoA5lxJzyLkK0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mANMcwjV8QHwsSyVqiTrJGwP8QFXffhV48htFsUaqv7J9WPh7JhjKHYFMNOlTLRkx fKS0mjrpLcXyh7ju9iRJjE/2vmInTrfRdG0DQ28RQrI9ziDQNwOqVnFiVDQKZlie5F wB2OkIrtludGtehX+1oRpV19iBx5py8EQncT9DEqDQP5Wmvpx6z+F7IigXPH7nJ+68 km3rxvjKI/SydyLsKCpPFwwet7jdTFYwerfCSps3TQuKgf3Zd8u/Mu9nELHfRwposc TufqJTqpibNw8AZhZUqJGfoX93OdDsduFP6/omlKK8pFXOgj+jUJrTixSm96b58/2k YsFsO1cWoq2hA== Date: Wed, 13 Sep 2023 12:27:24 -0700 From: Bjorn Andersson To: srinivas.kandagatla@linaro.org, Komal Bajaj Cc: agross@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, bryan.odonoghue@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v8 3/6] nvmem: core: Add stub for nvmem_cell_read_u8 Message-ID: References: <20230830105654.28057-1-quic_kbajaj@quicinc.com> <20230830105654.28057-4-quic_kbajaj@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230830105654.28057-4-quic_kbajaj@quicinc.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Wed, 13 Sep 2023 12:23:30 -0700 (PDT) X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email On Wed, Aug 30, 2023 at 04:26:51PM +0530, Komal Bajaj wrote: > Add the stub nvmem_cell_read_u8() function for drivers running with > CONFIG_NVMEM disabled. > > Signed-off-by: Komal Bajaj Srini, do you have any concerns with me taking this together with the remaining patches through my tree? Regards, Bjorn > --- > include/linux/nvmem-consumer.h | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/include/linux/nvmem-consumer.h b/include/linux/nvmem-consumer.h > index 4523e4e83319..6ec4b9743e25 100644 > --- a/include/linux/nvmem-consumer.h > +++ b/include/linux/nvmem-consumer.h > @@ -127,6 +127,12 @@ static inline int nvmem_cell_write(struct nvmem_cell *cell, > return -EOPNOTSUPP; > } > > +static inline int nvmem_cell_read_u8(struct device *dev, > + const char *cell_id, u8 *val) > +{ > + return -EOPNOTSUPP; > +} > + > static inline int nvmem_cell_read_u16(struct device *dev, > const char *cell_id, u16 *val) > { > -- > 2.41.0 >