projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c3d713
)
ASoC: ad193x: Use SOC_ENUM_SINGLE_DECL()
author
Takashi Iwai
<
[email protected]
>
Tue, 18 Feb 2014 08:55:27 +0000
(09:55 +0100)
committer
Mark Brown
<
[email protected]
>
Thu, 20 Feb 2014 01:39:21 +0000
(10:39 +0900)
Just replace with the helper macro. No functional change at all.
Signed-off-by: Takashi Iwai <
[email protected]
>
Acked-by: Liam Girdwood <
[email protected]
>
Acked-by: Lars-Peter Clausen <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/codecs/ad193x.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/ad193x.c
b/sound/soc/codecs/ad193x.c
index f644a34a28de3727507db5ad6d071915f71aa2a8..9381a767e75fac9963ecf58e7a55d58b5c011a61 100644
(file)
--- a/
sound/soc/codecs/ad193x.c
+++ b/
sound/soc/codecs/ad193x.c
@@
-31,8
+31,8
@@
struct ad193x_priv {
*/
static const char * const ad193x_deemp[] = {"None", "48kHz", "44.1kHz", "32kHz"};
-static
const struct soc_enum ad193x_deemp_enum =
-
SOC_ENUM_SINGLE(AD193X_DAC_CTRL2, 1, 4,
ad193x_deemp);
+static
SOC_ENUM_SINGLE_DECL(ad193x_deemp_enum, AD193X_DAC_CTRL2, 1,
+
ad193x_deemp);
static const DECLARE_TLV_DB_MINMAX(adau193x_tlv, -9563, 0);