Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp966806rwd; Tue, 13 Jun 2023 02:59:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7DcuvHe3ycfW4XdOJ8j9Fi2k3DSZkdIWLFUlNv6BgHUu0AquaFgAcDPNXih+mMvY2uZy5O X-Received: by 2002:a17:902:9b82:b0:1b2:466b:a600 with SMTP id y2-20020a1709029b8200b001b2466ba600mr8559014plp.19.1686650357757; Tue, 13 Jun 2023 02:59:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686650357; cv=none; d=google.com; s=arc-20160816; b=duchYXe0cNirEBRH0yJy9PtCvKpHd/rQRb3XiodgKv86pB9WJVX2Yd0emKZx8zf0jg pYTTzGV2WTN5iAescq8cHDJSIgP24rRdm/vX2fKcE+18pkyIpViwuLn1ZbD+Nscja2Fe Pg52aGRl1oWF9srFfvTt1X1LW7rbWHe0gjCNPgRX4KgDUn8M+7pGrj9RNxHWJzTEJiMH 7GoL3jvq1uChN1q22zESoXCjxI2pxaMZDD8qw6Dmh4boYzT9ewkV85AS/1Xjg/HTnqah yvdaAWZn5X30Kw7y+301QAtu+tTH4ct5QRjArse5MRr+cmw8rlLXDff+ydVkMRCKBrWr XoRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=WNzEy8MVZ8x+tq8g5HpTGHyfMbdsero480OR63gtbqs=; b=T2Cnt+oUvyNfAEstOALY2ZRlbvOYZcJu6EFtvjqKvmEJuayzDM25Mtz7JuGFfT/KpT f2jGOXok1We/LmXv22xq3draNHQYbThWxIB4JRXi0nxXlnKZjS0eHoKkP+ueDCKyKJR6 B2lBld/LROv9OrpBYPJvgZMaFlrhSU1HuM/PfQj2VnBqKAWpzmIWzj/tB/BPkFIudAXf /7tl6uzrDyLDWKQuN0Hz9LUEi8zuz5dihoev2PG7+rf73VnIr1m448AGVk63ZP+X1cNP kymKfi+lTmBKoS+LJnKT331hhrvWTx9mfjE8g8aoJLnNEFi30vRDbo4ST35K4LsSVZ6v j6uA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b=JqovgFXb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l8-20020a170903244800b001b3dd46d508si2095050pls.621.2023.06.13.02.59.06; Tue, 13 Jun 2023 02:59:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20221208.gappssmtp.com header.s=20221208 header.b=JqovgFXb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240801AbjFMJpr (ORCPT + 99 others); Tue, 13 Jun 2023 05:45:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240365AbjFMJpk (ORCPT ); Tue, 13 Jun 2023 05:45:40 -0400 Received: from mail-vs1-xe36.google.com (mail-vs1-xe36.google.com [IPv6:2607:f8b0:4864:20::e36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7612210DC for ; Tue, 13 Jun 2023 02:45:39 -0700 (PDT) Received: by mail-vs1-xe36.google.com with SMTP id ada2fe7eead31-43d10b0bf6cso329991137.3 for ; Tue, 13 Jun 2023 02:45:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20221208.gappssmtp.com; s=20221208; t=1686649538; x=1689241538; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=WNzEy8MVZ8x+tq8g5HpTGHyfMbdsero480OR63gtbqs=; b=JqovgFXbuPli7l7dXgrvY2uK2toI88NT4EQUXx9xL277TDuDVuUsigZAlZym0kP1Gw +Vkj3qFPQJLzYF01DNdbp/er3p7k41SuJbOh3djnkhtLbRYwUUEn0XtjZkEMlgGXyXvs VG58Thb3QgKI+nNf0ESL9uzb49wcH63/TM03m3rCC6ah5eNsyZlPwsWIx0P4WbY9j5Qx 4T42NAx9ZyQhi1MTO+XnvaEIoBNST+XdJi968DSnAGkvAV++cHij8m98UJ4kL9Jjb3Tw EmDkK4ftX07oljM16Nx1tC5scU9XmZBblhuBbBL+Adw/W3mNJ7XwexFexxjI32gne4xo 86pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686649538; x=1689241538; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WNzEy8MVZ8x+tq8g5HpTGHyfMbdsero480OR63gtbqs=; b=aifQ2NxH/bl7F7qsOqSOv+SdFg9RXGgNv/GarP4NK58/5yzoB9GfXebI9qdA4XWc/b 9wwzj07Sa2bXBjTR3Yc3WEkpXQXPEuWXpX2NIh0VwzpwxgzyruHbRjpO/Kfm6zhWCVh2 61k3FCeMVAxXfhKaxUjpPNCGHhHZBjQDzyk5nV0h7obdJtUfUO4vnKEeyjhwuULojWpn GtWDF9ub6s8PXdROP5Tuqs+SSsj4sKrUL/QVMgdvpe5Sjgu9yt/n3cjhsZGr/myxhX7E UH8/Oza3JXJMBg04RNu6jsjjxcCrSHCdX3PNgE7JN46tsZ6374zGK1Nyg64I3d/T3iWS P2KQ== X-Gm-Message-State: AC+VfDz27RKolYD2mI47k+sq2aSjBFsra+q5NwjohGY/Nr/DuP7RPxnC jN1NERM045smWTqYECErK2CtTnOkRa1dbTZHOwIEYyt8VIH9osFO X-Received: by 2002:a67:fd52:0:b0:43c:8c56:14a9 with SMTP id g18-20020a67fd52000000b0043c8c5614a9mr5882483vsr.9.1686649538668; Tue, 13 Jun 2023 02:45:38 -0700 (PDT) MIME-Version: 1.0 References: <20230609121649.88147-1-minhuadotchen@gmail.com> In-Reply-To: <20230609121649.88147-1-minhuadotchen@gmail.com> From: Bartosz Golaszewski Date: Tue, 13 Jun 2023 11:45:27 +0200 Message-ID: Subject: Re: [PATCH] gpio: davinci: make davinci_gpio_dev_pm_ops static To: Min-Hua Chen Cc: Keerthy , Linus Walleij , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_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 On Fri, Jun 9, 2023 at 2:16=E2=80=AFPM Min-Hua Chen wrote: > > This patch fixes the following sprse warnings: > > drivers/gpio/gpio-davinci.c:695:1: sparse: warning: symbol 'davinci_gpio_= dev_pm_ops' was not declared. Should it be static? > > No functional change intended. > > Signed-off-by: Min-Hua Chen > --- > drivers/gpio/gpio-davinci.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpio/gpio-davinci.c b/drivers/gpio/gpio-davinci.c > index aaaf61dc2632..1aed3ace0240 100644 > --- a/drivers/gpio/gpio-davinci.c > +++ b/drivers/gpio/gpio-davinci.c > @@ -692,7 +692,7 @@ static int davinci_gpio_resume(struct device *dev) > return 0; > } > > -DEFINE_SIMPLE_DEV_PM_OPS(davinci_gpio_dev_pm_ops, davinci_gpio_suspend, > +static DEFINE_SIMPLE_DEV_PM_OPS(davinci_gpio_dev_pm_ops, davinci_gpio_su= spend, > davinci_gpio_resume); > > static const struct of_device_id davinci_gpio_ids[] =3D { > -- > 2.34.1 > Applied, thanks! Bart