[PATCH 12/28] of: drop owner assignment from platform_drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




This platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang <wsa@xxxxxxxxxxxxx>
---
Generated with coccinelle. SmPL file is in the introductory msg. The big
cleanup was pulled in this merge window. This series catches the bits fallen
through. The patches shall go in via the subsystem trees.

 drivers/of/unittest.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/of/unittest.c b/drivers/of/unittest.c
index 844838e11ef1..c5fb657eb8cc 100644
--- a/drivers/of/unittest.c
+++ b/drivers/of/unittest.c
@@ -1000,7 +1000,6 @@ static struct platform_driver selftest_driver = {
 	.remove			= selftest_remove,
 	.driver = {
 		.name		= "selftest",
-		.owner		= THIS_MODULE,
 		.of_match_table	= of_match_ptr(selftest_match),
 	},
 };
-- 
2.1.3

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux