From 022f11556d0dd0c424f979fbc948542043484102 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Thu, 15 Nov 2007 16:18:14 +0100 Subject: [PATCH] --- yaml --- r: 81506 b: refs/heads/master c: 4b6c26aff30343ac95a111b1658e72f94bf51291 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/spi/at73c213.c | 11 +---------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/[refs] b/[refs] index daf5af34f119..d98d90f41728 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 3b892467786410f26dffc2c7bccd3ea445604037 +refs/heads/master: 4b6c26aff30343ac95a111b1658e72f94bf51291 diff --git a/trunk/sound/spi/at73c213.c b/trunk/sound/spi/at73c213.c index fee869bcc959..bfe17b3ec8f4 100644 --- a/trunk/sound/spi/at73c213.c +++ b/trunk/sound/spi/at73c213.c @@ -536,16 +536,7 @@ static int snd_at73c213_stereo_put(struct snd_kcontrol *kcontrol, return retval; } -static int snd_at73c213_mono_switch_info(struct snd_kcontrol *kcontrol, - struct snd_ctl_elem_info *uinfo) -{ - uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; - uinfo->count = 1; - uinfo->value.integer.min = 0; - uinfo->value.integer.max = 1; - - return 0; -} +#define snd_at73c213_mono_switch_info snd_ctl_boolean_mono_info static int snd_at73c213_mono_switch_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)