diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2016-08-26 03:06:23 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-09-01 21:22:59 +0100 |
commit | 7e3353ddd232da693ec26ef7982cac50d5386887 (patch) | |
tree | 02fa46dcf48341c1c5cff30f108551f120b0dd8e /sound | |
parent | f93b646d5124183ab76cb820d5b21a7741726eba (diff) | |
download | blackbird-op-linux-7e3353ddd232da693ec26ef7982cac50d5386887.tar.gz blackbird-op-linux-7e3353ddd232da693ec26ef7982cac50d5386887.zip |
ASoC: simple-card: code sync: tidyup simple_priv_to_xxx() macro
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/generic/simple-card.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c index a4a39d41b634..8774d803f324 100644 --- a/sound/soc/generic/simple-card.c +++ b/sound/soc/generic/simple-card.c @@ -41,8 +41,8 @@ struct simple_card_data { }; #define simple_priv_to_dev(priv) ((priv)->snd_card.dev) -#define simple_priv_to_link(priv, i) ((priv)->snd_card.dai_link + i) -#define simple_priv_to_props(priv, i) ((priv)->dai_props + i) +#define simple_priv_to_link(priv, i) ((priv)->snd_card.dai_link + (i)) +#define simple_priv_to_props(priv, i) ((priv)->dai_props + (i)) #define DAI "sound-dai" #define CELL "#sound-dai-cells" |