Skip to content

Commit dd5f313

Browse files
rfvirgiltiwai
authored andcommitted
ALSA: control: Fix a bunch of whitespace errors
Remove a bunch of trailing whitespace errors. They are fairly annoying if you have your editor set to strip trailing whitespace because you find you've introduced more changes than you were trying to make. Signed-off-by: Richard Fitzgerald <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
1 parent 3b8bd50 commit dd5f313

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

sound/core/control.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ static void snd_ctl_empty_read_queue(struct snd_ctl_file * ctl)
105105
{
106106
unsigned long flags;
107107
struct snd_kctl_event *cread;
108-
108+
109109
spin_lock_irqsave(&ctl->read_lock, flags);
110110
while (!list_empty(&ctl->events)) {
111111
cread = snd_kctl_event(ctl->events.next);
@@ -159,7 +159,7 @@ void snd_ctl_notify(struct snd_card *card, unsigned int mask,
159159
unsigned long flags;
160160
struct snd_ctl_file *ctl;
161161
struct snd_kctl_event *ev;
162-
162+
163163
if (snd_BUG_ON(!card || !id))
164164
return;
165165
if (card->shutdown)
@@ -213,7 +213,7 @@ static int snd_ctl_new(struct snd_kcontrol **kctl, unsigned int count,
213213
{
214214
unsigned int size;
215215
unsigned int idx;
216-
216+
217217
if (count == 0 || count > MAX_CONTROL_COUNT)
218218
return -EINVAL;
219219

@@ -238,7 +238,7 @@ static int snd_ctl_new(struct snd_kcontrol **kctl, unsigned int count,
238238
* @ncontrol: the initialization record
239239
* @private_data: the private data to set
240240
*
241-
* Allocates a new struct snd_kcontrol instance and initialize from the given
241+
* Allocates a new struct snd_kcontrol instance and initialize from the given
242242
* template. When the access field of ncontrol is 0, it's assumed as
243243
* READWRITE access. When the count field is 0, it's assumes as one.
244244
*
@@ -251,7 +251,7 @@ struct snd_kcontrol *snd_ctl_new1(const struct snd_kcontrol_new *ncontrol,
251251
unsigned int count;
252252
unsigned int access;
253253
int err;
254-
254+
255255
if (snd_BUG_ON(!ncontrol || !ncontrol->info))
256256
return NULL;
257257

@@ -753,7 +753,7 @@ static int snd_ctl_elem_list(struct snd_card *card,
753753
struct snd_ctl_elem_id id;
754754
unsigned int offset, space, jidx;
755755
int err = 0;
756-
756+
757757
if (copy_from_user(&list, _list, sizeof(list)))
758758
return -EFAULT;
759759
offset = list.offset;
@@ -827,7 +827,7 @@ static int snd_ctl_elem_info(struct snd_ctl_file *ctl,
827827
struct snd_kcontrol_volatile *vd;
828828
unsigned int index_offset;
829829
int result;
830-
830+
831831
down_read(&card->controls_rwsem);
832832
kctl = snd_ctl_find_id(card, &info->id);
833833
if (kctl == NULL) {
@@ -992,7 +992,7 @@ static int snd_ctl_elem_lock(struct snd_ctl_file *file,
992992
struct snd_kcontrol *kctl;
993993
struct snd_kcontrol_volatile *vd;
994994
int result;
995-
995+
996996
if (copy_from_user(&id, _id, sizeof(id)))
997997
return -EFAULT;
998998
down_write(&card->controls_rwsem);
@@ -1020,7 +1020,7 @@ static int snd_ctl_elem_unlock(struct snd_ctl_file *file,
10201020
struct snd_kcontrol *kctl;
10211021
struct snd_kcontrol_volatile *vd;
10221022
int result;
1023-
1023+
10241024
if (copy_from_user(&id, _id, sizeof(id)))
10251025
return -EFAULT;
10261026
down_write(&card->controls_rwsem);

0 commit comments

Comments
 (0)