1 From 0b7d959b0d0c18959c66696844a1c9956370ab99 Mon Sep 17 00:00:00 2001
2 From: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
3 Date: Wed, 17 Oct 2018 21:01:54 +0200
4 Subject: [PATCH] staging: bcm2835-audio: more generic probe function
7 commit 96f3bd8ae6516898c7b411ecb87064bb0dd25415 upstream.
9 There will only be one probe function, there is no use for appendig
10 "_dt" the end of the name.
12 Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
13 Reviewed-by: Takashi Iwai <tiwai@suse.de>
14 Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
15 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
17 drivers/staging/vc04_services/bcm2835-audio/bcm2835.c | 4 ++--
18 1 file changed, 2 insertions(+), 2 deletions(-)
20 --- a/drivers/staging/vc04_services/bcm2835-audio/bcm2835.c
21 +++ b/drivers/staging/vc04_services/bcm2835-audio/bcm2835.c
22 @@ -291,7 +291,7 @@ static int snd_add_child_devices(struct
26 -static int snd_bcm2835_alsa_probe_dt(struct platform_device *pdev)
27 +static int snd_bcm2835_alsa_probe(struct platform_device *pdev)
29 struct device *dev = &pdev->dev;
31 @@ -344,7 +344,7 @@ static const struct of_device_id snd_bcm
32 MODULE_DEVICE_TABLE(of, snd_bcm2835_of_match_table);
34 static struct platform_driver bcm2835_alsa0_driver = {
35 - .probe = snd_bcm2835_alsa_probe_dt,
36 + .probe = snd_bcm2835_alsa_probe,
38 .suspend = snd_bcm2835_alsa_suspend,
39 .resume = snd_bcm2835_alsa_resume,