Message ID | 1392728699-14420-1-git-send-email-tiwai@suse.de (mailing list archive) |
---|---|
State | Accepted |
Commit | b6592d88ec37440c88cc3bc2c9c08a61d0de3eec |
Delegated to: | Mark Brown |
Headers | show |
On Tue, Feb 18, 2014 at 02:04:59PM +0100, Takashi Iwai wrote:
> Just replace with the helper macro. No functional change at all.
Applied, thanks.
diff --git a/sound/soc/codecs/ad193x.c b/sound/soc/codecs/ad193x.c index 5a42dca535b7..cbddf4c70531 100644 --- a/sound/soc/codecs/ad193x.c +++ b/sound/soc/codecs/ad193x.c @@ -32,8 +32,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);
Just replace with the helper macro. No functional change at all. Signed-off-by: Takashi Iwai <tiwai@suse.de> --- sound/soc/codecs/ad193x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)