From patchwork Tue Jul 18 01:01:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 121723 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp1459522vqt; Mon, 17 Jul 2023 19:12:43 -0700 (PDT) X-Google-Smtp-Source: APBJJlHB6jzUprodcQ0Xz3MSym5BKQXNJZqxLalM3lr2mo5XSRjvgRF+JwqQYbz+obzUEKZQNa09 X-Received: by 2002:aa7:cd16:0:b0:51b:c714:a2a1 with SMTP id b22-20020aa7cd16000000b0051bc714a2a1mr12628803edw.7.1689646363353; Mon, 17 Jul 2023 19:12:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689646363; cv=none; d=google.com; s=arc-20160816; b=SDzf9PXCWTgzbxloyFOpMx+vv+3g+FaigL+HtV/qFPZzHld60EuUblU/yCPwu97Miw WvtorTgVpW3FWz+phSqFkrRBWpeCTNu/qT8ouZbWmXoIsAm/JktjMYJCe3R3CLjYpRR2 iXgEz6I4/UbiawDjiTQHpQNAPBauEdukYhWlBZkTHLAbNyNxL7bqDeYmQfv+yr+2HvdP 1ZgRxLRR8nGI5tZaV+7/b8if9Yp+i9sB+bnRp8sb3fun4rcSuNR5WdFxhNAzffOheehn omqSouNtw0pEWEet1OJpCJfQWqmm/WZjiiLggFkN/PbSpO+mY4xe//zp60owaRMp981V DMWw== 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=dq9J8eQ3oxgx3Z8rlsoBRw/uVLCXnQICEDVyqDNZBGQ=; fh=1Ki5nzvRLuMAlG0Q8JolBn807SaqJ0qkT7PA6xSDRas=; b=VDUQGkUujG1TjmISf5Wg5S2lmMJzod9xYOLoVHUl35bgy4h4Oy4cUN+RM+MAz22uDn +QL8RyhVHL1nF6l8F2sTV2sUV6CnEqz7RYfgUerO+0cjA8/YO2cz28g6D3hpllWOajMd KuECqMlmBLFp0Mf5uofHk7C/deKFANgS9KAQSFgNbnd+5sQXfP95CDm+ouQXqvqxXO5i CgQ98HDZzUEQ3J+b7YwNM6hAkwSwdCtOddxNi9tkaARF58o6v+s0uTtEfN01y+nca9pm BK2tmFMy0komC6aD6tbYk8Yvc32kUeDaAqH3h3vAvZ1q/CNC/dK241I7Xe7yTISUAtiu KYmA== 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 j11-20020aa7c0cb000000b0051debd504casi493367edp.160.2023.07.17.19.12.20; Mon, 17 Jul 2023 19:12:43 -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 S229931AbjGRBCD (ORCPT + 99 others); Mon, 17 Jul 2023 21:02:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51040 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229481AbjGRBCA (ORCPT ); Mon, 17 Jul 2023 21:02:00 -0400 Received: from out30-100.freemail.mail.aliyun.com (out30-100.freemail.mail.aliyun.com [115.124.30.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6F31B5; Mon, 17 Jul 2023 18:01:58 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R411e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046050;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0VnfOa4c_1689642114; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VnfOa4c_1689642114) by smtp.aliyun-inc.com; Tue, 18 Jul 2023 09:01:55 +0800 From: Yang Li To: tomi.valkeinen@ideasonboard.com Cc: mchehab@kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] media: i2c: No need to set device_driver owner Date: Tue, 18 Jul 2023 09:01:54 +0800 Message-Id: <20230718010154.36550-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=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,URIBL_BLOCKED, USER_IN_DEF_SPF_WL autolearn=ham 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: INBOX X-GMAIL-THRID: 1771722625284994989 X-GMAIL-MSGID: 1771722625284994989 Remove .owner field if calls are used which set it automatically. to silence the warning: ./drivers/media/i2c/ds90ub953.c:1390:3-8: No need to set .owner here. The core will do it. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5902 Signed-off-by: Yang Li Reviewed-by: Tomi Valkeinen --- drivers/media/i2c/ds90ub953.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/i2c/ds90ub953.c b/drivers/media/i2c/ds90ub953.c index 1e3827a60029..ce1c6f8b656e 100644 --- a/drivers/media/i2c/ds90ub953.c +++ b/drivers/media/i2c/ds90ub953.c @@ -1387,7 +1387,6 @@ static struct i2c_driver ds90ub953_driver = { .id_table = ub953_id, .driver = { .name = "ds90ub953", - .owner = THIS_MODULE, .of_match_table = ub953_dt_ids, }, };