Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4627922iob; Sun, 8 May 2022 19:47:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPz+Zapj9ptZRJ5jFaHuvKz6zvBNuS/c03Rjx5kNLPAKiqz0si1WN7P70itSFgo/hmUC30 X-Received: by 2002:a17:902:f708:b0:153:839f:bf2c with SMTP id h8-20020a170902f70800b00153839fbf2cmr14361319plo.113.1652064442146; Sun, 08 May 2022 19:47:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652064442; cv=none; d=google.com; s=arc-20160816; b=BZVhs0AUZlRYNQ9oVL5uqQ3jE4fypK5CPqRjNcVt0J1w+ONILz8f/CwNpjGz4+qile R3Ss/15jtAcKaCi71nTvTZYiBdrJK27gR0EufQGPKG/8s7wf6ytK25QOqZPrzBV/8hwL In+5UZNYbv8ycPmSclia8VkKGhYd1VJYzt4DwjnR3pPZJc9iKpE/bzHU+/OdVfTR/lu+ dcSnibe2fVbgGJ1/BXwQKoZyNt1OM2/kAjcfY8LxpPF6JXSmb1ycuPsWE1QI9FAKYwQE 5xo1r3oZCy5QYN2tqC1ikqWwZtIa9+ZZQpA32TmWcnjPQ1CTOTseVGhiFtuEcjgkWiIr dbWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=C/dvfq7UKDW/S628+lbUbCWkK48n01st45hR/4wo+Z0=; b=YJjCfSrGKm/JSSEcC/zBvfE2/9Eq+8ztCmDeANM5D06GAXivED626uP9R2eMFfHfr4 AT/Xnfjy2rRchWp4hpSNmysLi5zZiSZYlysttt+RfRhiu966TtiGXpSy5pvZv7z4avop QiWG3nz0AEkBohyE4eJL8m4P4UrcGLQjCcTw6fRtSp3mdLAcZPMr5ALHW8HytgjG/QKZ iNT3b0180T0erhvl6eM2bNo723y8Bg3+evidE+CYjHJua+FJeeIAly9yzTN+HTvFx+fT yzgbHuaxEZjEsp9RaE4nGvQyax0n9ciDhugQtRtJM/TkvZqFFo4pbj3Er6oAEUFTmPMH /1iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=JqMnJvg2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id i7-20020a170902c94700b00158f817a27bsi11579965pla.148.2022.05.08.19.47.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 19:47:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=JqMnJvg2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 098D2344E5; Sun, 8 May 2022 19:46:46 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442253AbiEFOlu (ORCPT + 99 others); Fri, 6 May 2022 10:41:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234559AbiEFOlt (ORCPT ); Fri, 6 May 2022 10:41:49 -0400 Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7ACBA6A41C for ; Fri, 6 May 2022 07:38:05 -0700 (PDT) Received: by mail-ot1-x32d.google.com with SMTP id s18-20020a056830149200b006063fef3e17so5025737otq.12 for ; Fri, 06 May 2022 07:38:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:user-agent:date:message-id :subject:to:cc; bh=C/dvfq7UKDW/S628+lbUbCWkK48n01st45hR/4wo+Z0=; b=JqMnJvg2mt5r4iavW01xjEKcwD9Onfbq6BfkMM5CMLGRRNtg7B+2cQ3t7a9etEiACI lqroy682g14szmQVzx+g2FKuGjcs2kkcbxR05tiSkAIsEupgzPo8d0bpvtLa2rOQwnL5 wTsBk6maXiF0rbeFMx++g9251+AM+/1fhu7Xc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to:cc; bh=C/dvfq7UKDW/S628+lbUbCWkK48n01st45hR/4wo+Z0=; b=7Rv7apfqnsXV5KdZvOyjJqegGb5+6eO7xSvlzxmDAnWpQqcClGHzjKFVQ/H8gKRvez 6x2o3ABjFbegv0BoszBC9uQU80kvDNAGlOkclwQUcXxlFGOdUw+Y56y9tVG75HBMIW64 tVbMSVf2uts+fgyoFgT3IieysUwusvh/XkdVLeU4K2Gwpej31M1vWuwen6GEKT++RrT5 CJCkS/mmvvZ2DH9ElV6lf3D3T2krcyMOerZGd3gzlrzoKt6BsAh0h3fCrtdexbFj4oS1 6dce3VEg9obxNtiNHmhzvGDiRHLOSHeZoKZE+jyG6SXYPMQNsMEmvKWOTa6hqeA9+aty 6WxQ== X-Gm-Message-State: AOAM533e372EyXURHTtIO/ysfXLuDVK6ujMFEGfGqis0Hg1GU4kRBeat xywkyyPOHe7x0ZYI5cABr/Xahc95AqI0a1DUGwpTAg== X-Received: by 2002:a9d:b85:0:b0:5cb:3eeb:d188 with SMTP id 5-20020a9d0b85000000b005cb3eebd188mr1152126oth.77.1651847884845; Fri, 06 May 2022 07:38:04 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 6 May 2022 10:38:04 -0400 MIME-Version: 1.0 In-Reply-To: <1651742739-12338-7-git-send-email-quic_c_skakit@quicinc.com> References: <1651742739-12338-1-git-send-email-quic_c_skakit@quicinc.com> <1651742739-12338-7-git-send-email-quic_c_skakit@quicinc.com> From: Stephen Boyd User-Agent: alot/0.10 Date: Fri, 6 May 2022 10:38:04 -0400 Message-ID: Subject: Re: [PATCH V11 6/9] mfd: pm8008: Use i2c_new_dummy_device() API To: Bjorn Andersson , Rob Herring , Satya Priya Cc: Lee Jones , Liam Girdwood , Mark Brown , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, quic_collinsd@quicinc.com, quic_subbaram@quicinc.com, quic_jprakash@quicinc.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Satya Priya (2022-05-05 02:25:36) > diff --git a/drivers/mfd/qcom-pm8008.c b/drivers/mfd/qcom-pm8008.c > index 40a67f0..25e8d0b 100644 > --- a/drivers/mfd/qcom-pm8008.c > +++ b/drivers/mfd/qcom-pm8008.c > @@ -150,6 +151,11 @@ static struct regmap_config qcom_mfd_regmap_cfg = { > .max_register = 0xFFFF, > }; > > +struct regmap *pm8008_get_regmap(struct pm8008_data *chip) can chip be const? > +{ > + return chip->regulators_regmap; > +} EXPORT_SYMBOL_GPL please. And the include is needed to avoid sparse warning. > + > static int pm8008_init(struct regmap *regmap) > { > int rc;