Jelajahi Sumber

crypto: ccp: drop owner assignment from platform_drivers

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

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Wolfram Sang 10 tahun lalu
induk
melakukan
28f01363f8
1 mengubah file dengan 0 tambahan dan 1 penghapusan
  1. 0 1
      drivers/crypto/ccp/ccp-platform.c

+ 0 - 1
drivers/crypto/ccp/ccp-platform.c

@@ -208,7 +208,6 @@ static const struct of_device_id ccp_platform_ids[] = {
 static struct platform_driver ccp_platform_driver = {
 static struct platform_driver ccp_platform_driver = {
 	.driver = {
 	.driver = {
 		.name = "AMD Cryptographic Coprocessor",
 		.name = "AMD Cryptographic Coprocessor",
-		.owner = THIS_MODULE,
 		.of_match_table = ccp_platform_ids,
 		.of_match_table = ccp_platform_ids,
 	},
 	},
 	.probe = ccp_platform_probe,
 	.probe = ccp_platform_probe,