From patchwork Wed Mar 27 17:46:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13607150 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 1CC2014E2E7; Wed, 27 Mar 2024 17:46:43 +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=1711561604; cv=none; b=iD7lO/4fZTk2FLpw4NuMYuzIlIDaqcx257gokphfgb5zycvd2wpqtj1a8xQ73RNSLPcHe8gNhTDKuiusBYeg0yfojEAGY/TAXWkleekA0UsupW0AVE1ZT26Tdy94lzO4J4dtCb8bKPICvl2A7np8/yc4GOgfFJmBIyqOrWx9iUE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711561604; c=relaxed/simple; bh=XN3G2xFD1jz0E5RTJppOWDoQwF4H3/52tfM/dRti1vE=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=qMFAXXbtmdGQS3YaUzX1aJlkQ24ISaE3GvOT2j+ix1DVIpupybjeJ7a2Zh2UouRGTTA+laZFezSJFPlB9KK/NLcQFPZ3d7YaIig0c+Hn+JyfAWDXiY1iSErzmXAvbFbcvPJ80WPXRd9fNHGs3YXah4P8puFz67AWF5OLxVBzMNI= 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 2692CC433F1; Wed, 27 Mar 2024 17:46:41 +0000 (UTC) From: Krzysztof Kozlowski To: Wim Van Sebroeck , Guenter Roeck , linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] watchdog: mtx-1: drop driver owner assignment Date: Wed, 27 Mar 2024 18:46:38 +0100 Message-Id: <20240327174638.519445-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-watchdog@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Core in platform_driver_register() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Guenter Roeck --- drivers/watchdog/mtx-1_wdt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/watchdog/mtx-1_wdt.c b/drivers/watchdog/mtx-1_wdt.c index 152e41ecbb14..06756135033d 100644 --- a/drivers/watchdog/mtx-1_wdt.c +++ b/drivers/watchdog/mtx-1_wdt.c @@ -236,7 +236,6 @@ static struct platform_driver mtx1_wdt_driver = { .probe = mtx1_wdt_probe, .remove_new = mtx1_wdt_remove, .driver.name = "mtx1-wdt", - .driver.owner = THIS_MODULE, }; module_platform_driver(mtx1_wdt_driver);