diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2010-10-12 11:39:27 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-12 10:50:41 -0700 |
commit | 29644b22dafe87ffaf61b49496388ec5fde9bdc7 (patch) | |
tree | d19bf5e667ddc735bb8d241d3f928a264a2a3630 /drivers/staging/speakup | |
parent | 99c8da0f4f4f1d14a8cd42b29dfa5625a1491662 (diff) | |
download | kernel_samsung_tuna-29644b22dafe87ffaf61b49496388ec5fde9bdc7.zip kernel_samsung_tuna-29644b22dafe87ffaf61b49496388ec5fde9bdc7.tar.gz kernel_samsung_tuna-29644b22dafe87ffaf61b49496388ec5fde9bdc7.tar.bz2 |
staging: speakup: devsynth.c: style fixes
clean up this file based on reports from checkpatch.pl.
Signed-off-by: William Hubbs <w.d.hubbs@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/speakup')
-rw-r--r-- | drivers/staging/speakup/devsynth.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/staging/speakup/devsynth.c b/drivers/staging/speakup/devsynth.c index 8b74622..39dc586 100644 --- a/drivers/staging/speakup/devsynth.c +++ b/drivers/staging/speakup/devsynth.c @@ -36,7 +36,8 @@ static ssize_t speakup_file_write(struct file *fp, const char *buffer, return (ssize_t) nbytes; } -static ssize_t speakup_file_read(struct file *fp, char *buf, size_t nbytes, loff_t *ppos) +static ssize_t speakup_file_read(struct file *fp, char *buf, size_t nbytes, + loff_t *ppos) { return 0; } @@ -77,7 +78,8 @@ void speakup_register_devsynth(void) if (misc_register(&synth_device)) pr_warn("Couldn't initialize miscdevice /dev/synth.\n"); else { - pr_info("initialized device: /dev/synth, node (MAJOR %d, MINOR %d)\n", MISC_MAJOR, SYNTH_MINOR); + pr_info("initialized device: /dev/synth, node (MAJOR %d, MINOR %d)\n", + MISC_MAJOR, SYNTH_MINOR); misc_registered = 1; } } |