From patchwork Thu Mar 30 01:27:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 76869 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp817974vqo; Wed, 29 Mar 2023 19:13:53 -0700 (PDT) X-Google-Smtp-Source: AKy350bdcFXDMmk+RNfEqNEt9NlVzI0wWPlglS0b1LtO28dPptEb8D7KzDQKB+hyYqUoAQHHcXQ/ X-Received: by 2002:a17:90a:498b:b0:23f:3539:d326 with SMTP id d11-20020a17090a498b00b0023f3539d326mr22849809pjh.0.1680142433616; Wed, 29 Mar 2023 19:13:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680142433; cv=none; d=google.com; s=arc-20160816; b=VvTY+s6wrio1LzLwXxSmjD2dJpCX3FAAKi1OjAcZVCLe5IR87v3ra5V6Ge7r2yWpEW bzgbRFvHLymP5JUOvyz8VJaRPVV/0HUV5wt7VvRNujaRQxoNU0SR/3Sh0/b1pVjEBgYn 0Wkec2yHnt0KZyZO5eiuaLk5wg1crqXSYlk+RhltKyfTbHDnGotmpTDyeQZhbE182OHy vgNemEZS7eQOmE3m5fSEvv0oqa82zehQi25bJgXON5kWn0UULPJ/17IimlIXyUYiKs3R Q3DPpfLluxSxyOFWEgOAB1BjJvS/qjZ8efXn+zxbMoL2C3oGLkVpKYGzX9R22dsojHrq FxGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=Js5LHD2qEtZul37jHmC+Iv5PTPTogXv5h0WTQuGuwXY=; b=bQs72TwED5+F2ppe9V1WP7YLCOcOPXpexkZfEZ1l7QoHoC7tlyauxQsRoQYBY3vyj9 SLSghNkkqfCQGS3HA4aPNKfVbLi9fSu5i/hlzBsby8vRGQM33DN1dIPIH1hc3AvRe2kK UrMm13/IIVYFEP+c0iiKpNSeSy7u8zfo61hZn4gEFXPuMVtP7Mmocq+FOKxMz/eqHEr6 iYgvEgG8mhtnaNPWxVN50MLeerrUiRwkmQ7G4lcns913pU12EVYV++KypdQDUyPZSbw8 r0QN8mqn1fJmERQG+m8IZznOc6kmaqY9IkbImbibzyQW0jAFFZ7VHUKbL1U71TNeN+am 3ynQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f29-20020a63555d000000b0050bf0f1b79csi33540100pgm.699.2023.03.29.19.13.39; Wed, 29 Mar 2023 19:13:53 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229546AbjC3B1e (ORCPT + 99 others); Wed, 29 Mar 2023 21:27:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229475AbjC3B1d (ORCPT ); Wed, 29 Mar 2023 21:27:33 -0400 Received: from out30-111.freemail.mail.aliyun.com (out30-111.freemail.mail.aliyun.com [115.124.30.111]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BE855256 for ; Wed, 29 Mar 2023 18:27:30 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R901e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045192;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0VeyT95o_1680139646; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VeyT95o_1680139646) by smtp.aliyun-inc.com; Thu, 30 Mar 2023 09:27:27 +0800 From: Yang Li To: inki.dae@samsung.com Cc: jagan@amarulasolutions.com, m.szyprowski@samsung.com, neil.armstrong@linaro.org, airlied@gmail.com, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] drm: bridge: samsung-dsim: fix platform_no_drv_owner.cocci warning Date: Thu, 30 Mar 2023 09:27:25 +0800 Message-Id: <20230330012725.124031-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 X-Spam-Status: No, score=-8.0 required=5.0 tests=ENV_AND_HDR_SPF_MATCH, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY, USER_IN_DEF_SPF_WL 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761757032191332470?= X-GMAIL-MSGID: =?utf-8?q?1761757032191332470?= ./drivers/gpu/drm/bridge/samsung-dsim.c:1957:6-11: No need to set .owner here. The core will do it. Reported-by: Abaci Robot Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4640 Signed-off-by: Yang Li Reviewed-by: Jagan Teki --- drivers/gpu/drm/bridge/samsung-dsim.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/samsung-dsim.c b/drivers/gpu/drm/bridge/samsung-dsim.c index e0a402a85787..10dc3315e69e 100644 --- a/drivers/gpu/drm/bridge/samsung-dsim.c +++ b/drivers/gpu/drm/bridge/samsung-dsim.c @@ -1954,7 +1954,6 @@ static struct platform_driver samsung_dsim_driver = { .remove = samsung_dsim_remove, .driver = { .name = "samsung-dsim", - .owner = THIS_MODULE, .pm = &samsung_dsim_pm_ops, .of_match_table = samsung_dsim_of_match, },