Received: by 2002:ab2:6991:0:b0:1f2:fff1:ace7 with SMTP id v17csp213281lqo; Wed, 27 Mar 2024 10:53:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXhvRBvz7pkXYb3c5yIQcOpFRcXoyL17WCQ0iOdip4QjBH0ssJJDMl78iWWlEbnjy6sibqDLDPnSJZXthAalkIrVDK0xVnzJeOjmrpYuQ== X-Google-Smtp-Source: AGHT+IG59SWBgPChvE9GFuTf3ttAcYIjWHzPHoqmEDFA+d9GomcfxFkv4x2dJtCdWsUFhBP151UT X-Received: by 2002:a19:ca49:0:b0:514:e5a7:110f with SMTP id h9-20020a19ca49000000b00514e5a7110fmr122194lfj.54.1711561995808; Wed, 27 Mar 2024 10:53:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711561995; cv=pass; d=google.com; s=arc-20160816; b=aWR7EPyJKDu6VzBu+wrwEjhkIYaefQLvaZ/QKpeNKBqqRt/RU/txuvHLrnGCETS9G7 6if6tjWgBa/okLlYr3VKFoXggzXR6NgK7SaPnWjLM1b1pqUEVP+ggnxUSa7qm93DL6lB vOlYS/145oNqPUWcb4V1KbBI5usvvIQO82FL5/Sal4NV0FF70nF0bIiqXgWjTAmK4hfR a02TRM+Y/70Tb28PQbRaLVikaba1Wo2GXuWSvTY3AYippkY61c/2SZhvSONgqhXVVUdf H6OsEMGXg5jqneQJ2GPAbTFLav1AXBFtFyfQ8724ns6ZvOztRrBkJLzEZu8ZJZVFtBT3 RLgQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=DeEA1mjY9Zunkp+gBe9IgidKoJpWE3KWPImy4r8lYSI=; fh=WwnP924T8Qgen78mXI0E/xEbCEk1uHW5LuFZAjyskqg=; b=CIVA9ll7sHZg/hWJgaj2iiqRx01i1PggCH+CAhmxy8TBUJvz+tTk8uEj6kS7N35/q8 gRd3dvO24IEZKMHROtew5+JUzW3NSjN68crneIUY6Z8L8LVJzPsUL2hx4p4uPw1ecUiI f3aAl4XPWe44XPZ+7fXNDwn5+/SzcNkQFjNtJxpkuJNK9OEy1j4fTh3Qyz0uIubBjlUL tSeSjCAzmc5HSuqjasiwxE5sE48j40g0+XpaxTja5nNd91Jafl7Z+a3xJt38/SEUpCWH x7CQVC4QAc7KEd6YLmXa4vkA1vlg8HKeYWO4KvnxNMaBnIAzWLWTT2cmCi8iRiTJDq6R lKkA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-121743-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121743-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id em4-20020a056402364400b0056c35dba52csi1406001edb.399.2024.03.27.10.53.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Mar 2024 10:53:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-121743-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-121743-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-121743-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 84BB71F329E7 for ; Wed, 27 Mar 2024 17:53:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C7192150995; Wed, 27 Mar 2024 17:47:11 +0000 (UTC) Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4E4AB1487E9; Wed, 27 Mar 2024 17:47:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711561631; cv=none; b=cpyBBUjIFpNYeEP0zSOVWRXQQkCNwKdEV8FaZabP1CqezfcKezzF7WstSyTOzCHFPZ/OgHa3PW6/TxNNNSV+pSR0nK/CusSnQN/ne5gRlHY3oNkZ09Wsz9AbC4hNORzHtw+b9Z/NESA4SAaWYfGNt7RLttFVkfVRGRI2/8cWJGA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711561631; c=relaxed/simple; bh=ftACfzTk9Usno0HfT+4cbMwKmq05Nj9un0NkopgUgBc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=ILf+hQbkOi6Iookplz8BRxOV9xi1jZrm14daSimb6HaZNENJTwGEBPnLA+Si3AuwQpePJPcu4BCABiHVURKv8Wsam1BlomgKBaxqJJkIP8LXOTzYPFgvDcptl58qfd7f1avwEpqLeB9MDSIe+JqHyF48v2IT4ijBwON8GlBDGHk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6879BC433F1; Wed, 27 Mar 2024 17:47:09 +0000 (UTC) From: Krzysztof Kozlowski To: Andi Shyti , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] i2c: viperboard: drop driver owner assignment Date: Wed, 27 Mar 2024 18:47:05 +0100 Message-Id: <20240327174705.519535-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Core in platform_driver_register() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski --- drivers/i2c/busses/i2c-viperboard.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-viperboard.c b/drivers/i2c/busses/i2c-viperboard.c index 9e153b5b0e8e..3784b07f5371 100644 --- a/drivers/i2c/busses/i2c-viperboard.c +++ b/drivers/i2c/busses/i2c-viperboard.c @@ -416,7 +416,6 @@ static void vprbrd_i2c_remove(struct platform_device *pdev) static struct platform_driver vprbrd_i2c_driver = { .driver.name = "viperboard-i2c", - .driver.owner = THIS_MODULE, .probe = vprbrd_i2c_probe, .remove_new = vprbrd_i2c_remove, }; -- 2.34.1