diff options
Diffstat (limited to 'drivers/crypto/talitos.c')
-rw-r--r-- | drivers/crypto/talitos.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/crypto/talitos.c b/drivers/crypto/talitos.c index b879c3f5d7c0..854e2632f9a6 100644 --- a/drivers/crypto/talitos.c +++ b/drivers/crypto/talitos.c | |||
@@ -2402,8 +2402,7 @@ static struct talitos_crypto_alg *talitos_alg_alloc(struct device *dev, | |||
2402 | return t_alg; | 2402 | return t_alg; |
2403 | } | 2403 | } |
2404 | 2404 | ||
2405 | static int talitos_probe(struct platform_device *ofdev, | 2405 | static int talitos_probe(struct platform_device *ofdev) |
2406 | const struct of_device_id *match) | ||
2407 | { | 2406 | { |
2408 | struct device *dev = &ofdev->dev; | 2407 | struct device *dev = &ofdev->dev; |
2409 | struct device_node *np = ofdev->dev.of_node; | 2408 | struct device_node *np = ofdev->dev.of_node; |
@@ -2580,7 +2579,7 @@ static const struct of_device_id talitos_match[] = { | |||
2580 | }; | 2579 | }; |
2581 | MODULE_DEVICE_TABLE(of, talitos_match); | 2580 | MODULE_DEVICE_TABLE(of, talitos_match); |
2582 | 2581 | ||
2583 | static struct of_platform_driver talitos_driver = { | 2582 | static struct platform_driver talitos_driver = { |
2584 | .driver = { | 2583 | .driver = { |
2585 | .name = "talitos", | 2584 | .name = "talitos", |
2586 | .owner = THIS_MODULE, | 2585 | .owner = THIS_MODULE, |
@@ -2592,13 +2591,13 @@ static struct of_platform_driver talitos_driver = { | |||
2592 | 2591 | ||
2593 | static int __init talitos_init(void) | 2592 | static int __init talitos_init(void) |
2594 | { | 2593 | { |
2595 | return of_register_platform_driver(&talitos_driver); | 2594 | return platform_driver_register(&talitos_driver); |
2596 | } | 2595 | } |
2597 | module_init(talitos_init); | 2596 | module_init(talitos_init); |
2598 | 2597 | ||
2599 | static void __exit talitos_exit(void) | 2598 | static void __exit talitos_exit(void) |
2600 | { | 2599 | { |
2601 | of_unregister_platform_driver(&talitos_driver); | 2600 | platform_driver_unregister(&talitos_driver); |
2602 | } | 2601 | } |
2603 | module_exit(talitos_exit); | 2602 | module_exit(talitos_exit); |
2604 | 2603 | ||