lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20240330202816.83973-1-krzysztof.kozlowski@linaro.org>
Date: Sat, 30 Mar 2024 21:28:16 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Russell King <linux@...linux.org.uk>,
	David Airlie <airlied@...il.com>,
	Daniel Vetter <daniel@...ll.ch>,
	dri-devel@...ts.freedesktop.org,
	linux-kernel@...r.kernel.org
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
Subject: [PATCH] drm/armada: drop driver owner assignment

Core in platform_driver_register() already sets the .owner, so driver
does not need to.  The CRTC driver is registered in different file,
armada_drv.c, but that should be the same module and if the
values were different core would overwrite them anyway.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
---
 drivers/gpu/drm/armada/armada_crtc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/armada/armada_crtc.c b/drivers/gpu/drm/armada/armada_crtc.c
index c78687c755a8..1e67c84525d7 100644
--- a/drivers/gpu/drm/armada/armada_crtc.c
+++ b/drivers/gpu/drm/armada/armada_crtc.c
@@ -1087,7 +1087,6 @@ struct platform_driver armada_lcd_platform_driver = {
 	.remove_new = armada_lcd_remove,
 	.driver = {
 		.name	= "armada-lcd",
-		.owner	=  THIS_MODULE,
 		.of_match_table = armada_lcd_of_match,
 	},
 	.id_table = armada_lcd_platform_ids,
-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ