mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-07 02:19:54 +00:00
staging: bcm2835-audio: more generic probe function name
commit 96f3bd8ae6516898c7b411ecb87064bb0dd25415 upstream. There will only be one probe function, there is no use for appendig "_dt" the end of the name. Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de> Reviewed-by: Takashi Iwai <tiwai@suse.de> Acked-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
popcornmix
parent
832a83beba
commit
d061dc817c
@@ -291,7 +291,7 @@ static int snd_add_child_devices(struct device *device, u32 numchans)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int snd_bcm2835_alsa_probe_dt(struct platform_device *pdev)
|
static int snd_bcm2835_alsa_probe(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
struct device *dev = &pdev->dev;
|
struct device *dev = &pdev->dev;
|
||||||
u32 numchans;
|
u32 numchans;
|
||||||
@@ -344,7 +344,7 @@ static const struct of_device_id snd_bcm2835_of_match_table[] = {
|
|||||||
MODULE_DEVICE_TABLE(of, snd_bcm2835_of_match_table);
|
MODULE_DEVICE_TABLE(of, snd_bcm2835_of_match_table);
|
||||||
|
|
||||||
static struct platform_driver bcm2835_alsa0_driver = {
|
static struct platform_driver bcm2835_alsa0_driver = {
|
||||||
.probe = snd_bcm2835_alsa_probe_dt,
|
.probe = snd_bcm2835_alsa_probe,
|
||||||
#ifdef CONFIG_PM
|
#ifdef CONFIG_PM
|
||||||
.suspend = snd_bcm2835_alsa_suspend,
|
.suspend = snd_bcm2835_alsa_suspend,
|
||||||
.resume = snd_bcm2835_alsa_resume,
|
.resume = snd_bcm2835_alsa_resume,
|
||||||
|
|||||||
Reference in New Issue
Block a user