summaryrefslogtreecommitdiffstats
path: root/sound/soc/generic
diff options
context:
space:
mode:
authorAmir Goldstein <amir73il@gmail.com>2019-05-16 06:26:28 -0400
committerMark Brown <broonie@kernel.org>2019-05-20 10:20:53 -0400
commitb0a821daf0d04e5a8ae99829e24f2fe538f25763 (patch)
tree09d29a8bc11e199534080177c3513802e1e1ada9 /sound/soc/generic
parent1c7c3237c0cc4ad3c7b0df458290c8e2a652f178 (diff)
ASoC: rename functions that pollute the simple_xxx namespace
include/linux/fs.h defines a bunch of simple fs helpers, (e.g. simple_rename) and we intend to add an fs helper named simple_remove. Rename the ASoC driver static functions, so they will not collide with the upcoming fs helper function name. Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Cc: Mark Brown <broonie@kernel.org> Signed-off-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/generic')
-rw-r--r--sound/soc/generic/simple-card.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c
index 9b568f578bcd..d16e894fce2b 100644
--- a/sound/soc/generic/simple-card.c
+++ b/sound/soc/generic/simple-card.c
@@ -607,7 +607,7 @@ static int simple_soc_probe(struct snd_soc_card *card)
607 return 0; 607 return 0;
608} 608}
609 609
610static int simple_probe(struct platform_device *pdev) 610static int asoc_simple_probe(struct platform_device *pdev)
611{ 611{
612 struct asoc_simple_priv *priv; 612 struct asoc_simple_priv *priv;
613 struct device *dev = &pdev->dev; 613 struct device *dev = &pdev->dev;
@@ -705,7 +705,7 @@ err:
705 return ret; 705 return ret;
706} 706}
707 707
708static int simple_remove(struct platform_device *pdev) 708static int asoc_simple_remove(struct platform_device *pdev)
709{ 709{
710 struct snd_soc_card *card = platform_get_drvdata(pdev); 710 struct snd_soc_card *card = platform_get_drvdata(pdev);
711 711
@@ -726,8 +726,8 @@ static struct platform_driver asoc_simple_card = {
726 .pm = &snd_soc_pm_ops, 726 .pm = &snd_soc_pm_ops,
727 .of_match_table = simple_of_match, 727 .of_match_table = simple_of_match,
728 }, 728 },
729 .probe = simple_probe, 729 .probe = asoc_simple_probe,
730 .remove = simple_remove, 730 .remove = asoc_simple_remove,
731}; 731};
732 732
733module_platform_driver(asoc_simple_card); 733module_platform_driver(asoc_simple_card);