aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/speakup/speakup_dtlk.c
diff options
context:
space:
mode:
authorSantha Meena Ramamoorthy <santhameena13@gmail.com>2018-02-22 10:15:10 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-02-23 09:54:57 +0100
commitf6222d13d9e2a074475d07c89f9dbc463e845ab9 (patch)
tree999b80c8ff4ec4f823f960db152b141ce67d1578 /drivers/staging/speakup/speakup_dtlk.c
parentstaging: speakup: add spaces around arithmetic operators (diff)
downloadlinux-dev-f6222d13d9e2a074475d07c89f9dbc463e845ab9.tar.xz
linux-dev-f6222d13d9e2a074475d07c89f9dbc463e845ab9.zip
staging: speakup: match alignment with open parenthesis
Match alignment with open parenthesis to conform to Linux kernel coding style. Problem found using checkpatch. Signed-off-by: Santha Meena Ramamoorthy <santhameena13@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/speakup/speakup_dtlk.c')
-rw-r--r--drivers/staging/speakup/speakup_dtlk.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/speakup/speakup_dtlk.c b/drivers/staging/speakup/speakup_dtlk.c
index df31f8bb69ec..f109b5163b5e 100644
--- a/drivers/staging/speakup/speakup_dtlk.c
+++ b/drivers/staging/speakup/speakup_dtlk.c
@@ -323,11 +323,11 @@ static int synth_probe(struct spk_synth *synth)
if (port_forced) {
speakup_info.port_tts = port_forced;
pr_info("probe forced to %x by kernel command line\n",
- speakup_info.port_tts);
+ speakup_info.port_tts);
if ((port_forced & 0xf) != 0xf)
pr_info("warning: port base should probably end with f\n");
if (synth_request_region(speakup_info.port_tts - 1,
- SYNTH_IO_EXTENT)) {
+ SYNTH_IO_EXTENT)) {
pr_warn("sorry, port already reserved\n");
return -EBUSY;
}
@@ -336,7 +336,7 @@ static int synth_probe(struct spk_synth *synth)
} else {
for (i = 0; synth_portlist[i]; i++) {
if (synth_request_region(synth_portlist[i],
- SYNTH_IO_EXTENT))
+ SYNTH_IO_EXTENT))
continue;
port_val = inw(synth_portlist[i]) & 0xfbff;
if (port_val == 0x107f) {
@@ -345,7 +345,7 @@ static int synth_probe(struct spk_synth *synth)
break;
}
synth_release_region(synth_portlist[i],
- SYNTH_IO_EXTENT);
+ SYNTH_IO_EXTENT);
}
}
port_val &= 0xfbff;