summaryrefslogtreecommitdiff
path: root/sound/usb/line6/capture.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-01-28 15:08:59 +0100
committerTakashi Iwai <tiwai@suse.de>2015-01-28 20:54:47 +0100
commit1263f61179821df60cca4bccdb69e2f71fdebaa7 (patch)
tree7f21fcf086b2cb1c8719a5251e929deb1ed9dcbf /sound/usb/line6/capture.c
parent72f18d00757e182c1adeb747ea39a66f1b54698b (diff)
ALSA: line6: Remove snd_line6_ prefix of pcm property fields
It's just superfluous and doesn't give any better readability. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/line6/capture.c')
-rw-r--r--sound/usb/line6/capture.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/usb/line6/capture.c b/sound/usb/line6/capture.c
index 4183c5f5edc2..f518fbbe88de 100644
--- a/sound/usb/line6/capture.c
+++ b/sound/usb/line6/capture.c
@@ -216,12 +216,11 @@ static int snd_line6_capture_open(struct snd_pcm_substream *substream)
err = snd_pcm_hw_constraint_ratdens(runtime, 0,
SNDRV_PCM_HW_PARAM_RATE,
- (&line6pcm->
- properties->snd_line6_rates));
+ &line6pcm->properties->rates);
if (err < 0)
return err;
- runtime->hw = line6pcm->properties->snd_line6_capture_hw;
+ runtime->hw = line6pcm->properties->capture_hw;
return 0;
}