aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-core.c
diff options
context:
space:
mode:
authorDimitris Papastamos <dp@opensource.wolfsonmicro.com>2010-12-06 10:49:20 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-12-06 14:15:16 -0500
commit0b9a214a606f8c7c7af3e66e7fe0caf3233cfe16 (patch)
tree1977d6306dd4a3253f27179813f60e3a14a11a88 /sound/soc/soc-core.c
parent58818a77cd415e2f76607749de5a1ff24e58cefe (diff)
ASoC: soc-core: Remove useless inline function construct
There is no need to mark this function as inline. Inline functions usually are small and concise functions that benefit from not needing to set up a stack frame and undergo a call/ret sequence upon each invocation. Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/soc-core.c')
-rw-r--r--sound/soc/soc-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index b2c327b14b00..392d33625327 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -3175,7 +3175,7 @@ static int snd_soc_unregister_card(struct snd_soc_card *card)
3175 * Simplify DAI link configuration by removing ".-1" from device names 3175 * Simplify DAI link configuration by removing ".-1" from device names
3176 * and sanitizing names. 3176 * and sanitizing names.
3177 */ 3177 */
3178static inline char *fmt_single_name(struct device *dev, int *id) 3178static char *fmt_single_name(struct device *dev, int *id)
3179{ 3179{
3180 char *found, name[NAME_SIZE]; 3180 char *found, name[NAME_SIZE];
3181 int id1, id2; 3181 int id1, id2;