Commit 58b0de1c authored by sayli karnik's avatar sayli karnik Committed by Greg Kroah-Hartman
Browse files

staging: speakup: i18n: Add spaces around operators



The patch adds spaces around binary operators as suggested by
checkpatch.pl
Signed-off-by: default avatarsayli karnik <karniksayli1995@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 75e6b00f
......@@ -343,7 +343,7 @@ static ssize_t silent_store(struct kobject *kobj, struct kobj_attribute *attr,
return -EINVAL;
}
spin_lock_irqsave(&speakup_info.spinlock, flags);
if (ch&2) {
if (ch & 2) {
shut = 1;
spk_do_flush();
} else {
......@@ -478,7 +478,7 @@ static ssize_t punc_show(struct kobject *kobj, struct kobj_attribute *attr,
pb = (struct st_bits_data *) &spk_punc_info[var->value];
mask = pb->mask;
for (i = 33; i < 128; i++) {
if (!(spk_chartab[i]&mask))
if (!(spk_chartab[i] & mask))
continue;
*cp++ = (char)i;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment