1 From d51fefa5d289a940bf2632d6d76a6a1acb8fe0f3 Mon Sep 17 00:00:00 2001
2 From: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
3 Date: Wed, 17 Oct 2018 21:01:55 +0200
4 Subject: [PATCH 469/773] staging: bcm2835-audio: rename platform_driver
7 commit 82cdc0c6b6faf877e2aecb957cffa9cb578cc572 upstream.
9 It was called bcm2835_alsa0_driver, that "0" didn't mean much.
11 Suggested-by: Takashi Iwai <tiwai@suse.de>
12 Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
13 Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
14 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
16 drivers/staging/vc04_services/bcm2835-audio/bcm2835.c | 6 +++---
17 1 file changed, 3 insertions(+), 3 deletions(-)
19 --- a/drivers/staging/vc04_services/bcm2835-audio/bcm2835.c
20 +++ b/drivers/staging/vc04_services/bcm2835-audio/bcm2835.c
21 @@ -343,7 +343,7 @@ static const struct of_device_id snd_bcm
23 MODULE_DEVICE_TABLE(of, snd_bcm2835_of_match_table);
25 -static struct platform_driver bcm2835_alsa0_driver = {
26 +static struct platform_driver bcm2835_alsa_driver = {
27 .probe = snd_bcm2835_alsa_probe,
29 .suspend = snd_bcm2835_alsa_suspend,
30 @@ -359,7 +359,7 @@ static int bcm2835_alsa_device_init(void
34 - retval = platform_driver_register(&bcm2835_alsa0_driver);
35 + retval = platform_driver_register(&bcm2835_alsa_driver);
37 pr_err("Error registering bcm2835_audio driver %d .\n", retval);
39 @@ -368,7 +368,7 @@ static int bcm2835_alsa_device_init(void
41 static void bcm2835_alsa_device_exit(void)
43 - platform_driver_unregister(&bcm2835_alsa0_driver);
44 + platform_driver_unregister(&bcm2835_alsa_driver);
47 late_initcall(bcm2835_alsa_device_init);