Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp375657pxy; Thu, 22 Apr 2021 04:17:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLUxblqTeKqHFPlpoSXWigA/NvLwR3ix1hp6FQCee1flyW++5MMoD+Kwr2U06/oRKAO+M8 X-Received: by 2002:a63:d153:: with SMTP id c19mr3005058pgj.311.1619090269997; Thu, 22 Apr 2021 04:17:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619090269; cv=none; d=google.com; s=arc-20160816; b=kZRKX0dWV/wgCXJ58v5vrBj+UTb6T9846oU90opBC16/xnIUrzh/sGGehDPx7fS53s i1r6k6kFmsNWAZ1ZLg9SjWO40J70CfoKKyAKIdirHO4sCfDFnkUI5Kdhk0fd9NQkmfCE PJCLJd58HP8nyoPMi/DaEEcF+w3JMNq/IB+UqKk28OKdfpbRwoA77yfJqy90mK4B07tY EV9pKgAfnsWiQ5/zUH3h7CmxvdHFE0wFz4rc1CtGGVv/y1HDppkuJ5iuN6ZW/kfsB/in LG7ded326QWHF7jI2NEMnXtexo4W30nj3QCb9TA3/d83+bMIY2x1QwxhZaHO1hxPeWWQ 7tMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=jvXh3pHGWRQ6TskJBjII7EsyfGQSZgshs4NGICNNg2M=; b=Pq01qCf5mMD+StlCbJw4aeglBiRxBC0Fqbb9yLv15HqOj5rsFujSsTT+28YVJlXBJF sTGQvFAayc+6O3mTnKRcz11WMEIv1i4Av+pxTsf3/rovw6OOuvp+wKX+U/jeq5B3ezCy r2vYYpstJN1N5NzWSrC/GOrnbxddSi7qqMQmayt5g9GfNroFLbcWmI1nx20Klw7hpU27 0MOOhIpBI41DeeBhEzxrfxYpaKA9GD5Q03K06nw1DVYSynL5379DAKRwqQqcDx0ekZ8z WMPAip1vnLFYd4uXueCeImz6WoCT9HGoZsWZzGzUZ2Yn5XVMDDPf5OCQ5g4wsHvX4TA3 K5pw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f3si2832052plc.413.2021.04.22.04.17.38; Thu, 22 Apr 2021 04:17:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236049AbhDVLRc (ORCPT + 99 others); Thu, 22 Apr 2021 07:17:32 -0400 Received: from out30-42.freemail.mail.aliyun.com ([115.124.30.42]:51652 "EHLO out30-42.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235937AbhDVLRb (ORCPT ); Thu, 22 Apr 2021 07:17:31 -0400 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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) -- 1.8.3.1