From patchwork Thu Apr 22 11:16:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 12218289 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CB9F8C433ED for ; Thu, 22 Apr 2021 11:18:45 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 37EED61406 for ; Thu, 22 Apr 2021 11:18:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 37EED61406 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.alibaba.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:MIME-Version:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Message-Id:Date:Subject:Cc:To:From:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=pBRab92c9vIMypR+bytWNg2DRu4KpDR4SY0clrAm2Os=; b=rYbpMHOivdyiFxwqCy1rYHGb6k O9Rp157HNBqpuGRtFJSJZEF1rFqWgd+mj3WHzMiI0FYe7fXBGFopWtLrnoTQOMvwq8H7KngSON1un DVexVmqWseIyFp/4XO57QUwJX6K6y7sXMmJK4Om7HtxICGrRI7zoKcT/yTj/gN/fxKC9Eqf68R6BU M6W+yAiEygiEu/COIlnoIfiDcUMml1+QEcdL0EPKvrTeqXqfvLU4QqlDtQEpeH/50uxmSyfMvJzrU LnYw7RRfD7pistaBqw8jVSnWyMIaHjN3N9O4rZv0RLc7Tr9bLLO6xPENaxeae5YE5dQPkxWq82Qca iAUtKcKQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lZXKU-00GZOj-Nv; Thu, 22 Apr 2021 11:17:06 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lZXKS-00GZOJ-4Q for linux-arm-kernel@desiato.infradead.org; Thu, 22 Apr 2021 11:17:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:In-Reply-To:References; bh=jvXh3pHGWRQ6TskJBjII7EsyfGQSZgshs4NGICNNg2M=; b=4AlMsDNfemE3LBwFhcJCip2kbJ nlACg//GtL83WRTP0gnimb36n45uMrQb6l/gZ6HA4iYxBA5r8WURkFEjUVX2OLF9WeBqO8fHGsZmw 4DcBc1Zzx9jDE5nG0bVeqG39tmK/lbKrrg9T7kce/ZuJoRLLaQYzxEcjBJDNopg7FDrw/9yxtUW/g QuYugXhu8n+i/9PYkMfYrI4QO7vWg2DutdRDyu9xMOMu7h70tZy+P9ddDYnQPWNYiQ7G1/FyoKX/4 abp0AZNxyPkMsDHlGaY1xezF5gdzUXiD7Vdfuo7k5se/4Zr/rjZDgQP3RyQjtBRgU7FfMEjK+hO91 207my5LA==; Received: from out30-131.freemail.mail.aliyun.com ([115.124.30.131]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lZXKO-00DboY-OO for linux-arm-kernel@lists.infradead.org; Thu, 22 Apr 2021 11:17:02 +0000 X-Alimail-AntiSpam: AC=PASS; BC=-1|-1; BR=01201311R131e4; CH=green; DM=||false|; DS=||; FP=0|-1|-1|-1|0|-1|-1|-1; HT=alimailimapcm10staff010182156082; MF=yang.lee@linux.alibaba.com; NM=1; PH=DS; RN=6; SR=0; TI=SMTPD_---0UWOpOPG_1619090214; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0UWOpOPG_1619090214) by smtp.aliyun-inc.com(127.0.0.1); Thu, 22 Apr 2021 19:16:55 +0800 From: Yang Li To: ssantosh@kernel.org Cc: nm@ti.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, Yang Li Subject: [PATCH v2] soc: ti: smartreflex after the relocation to maintain consistency Date: Thu, 22 Apr 2021 19:16:52 +0800 Message-Id: <1619090212-103038-1-git-send-email-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210422_041700_977549_14E6AFAE X-CRM114-Status: UNSURE ( 9.13 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org v2: According to Nishanth Menon's suggestion, the subject has been corrected. https://lore.kernel.org/patchwork/patch/1383883/ Fix the following coccicheck warning: ./drivers/soc/ti/smartreflex.c:820:0-23: WARNING: pm_sr_fops should be defined with DEFINE_DEBUGFS_ATTRIBUTE Reported-by: Abaci Robot Signed-off-by: Yang Li Reviewed-by: Nishanth Menon --- drivers/soc/ti/smartreflex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/ti/smartreflex.c b/drivers/soc/ti/smartreflex.c index 5376f3d..b3c7460 100644 --- a/drivers/soc/ti/smartreflex.c +++ b/drivers/soc/ti/smartreflex.c @@ -817,7 +817,7 @@ static int omap_sr_autocomp_store(void *data, u64 val) return 0; } -DEFINE_SIMPLE_ATTRIBUTE(pm_sr_fops, omap_sr_autocomp_show, +DEFINE_DEBUGFS_ATTRIBUTE(pm_sr_fops, omap_sr_autocomp_show, omap_sr_autocomp_store, "%llu\n"); static int omap_sr_probe(struct platform_device *pdev)