Commit 29644b22 authored by William Hubbs's avatar William Hubbs Committed by Greg Kroah-Hartman

staging: speakup: devsynth.c: style fixes

clean up this file based on reports from checkpatch.pl.
Signed-off-by: default avatarWilliam Hubbs <w.d.hubbs@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 99c8da0f
...@@ -36,7 +36,8 @@ static ssize_t speakup_file_write(struct file *fp, const char *buffer, ...@@ -36,7 +36,8 @@ static ssize_t speakup_file_write(struct file *fp, const char *buffer,
return (ssize_t) nbytes; 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; return 0;
} }
...@@ -77,7 +78,8 @@ void speakup_register_devsynth(void) ...@@ -77,7 +78,8 @@ void speakup_register_devsynth(void)
if (misc_register(&synth_device)) if (misc_register(&synth_device))
pr_warn("Couldn't initialize miscdevice /dev/synth.\n"); pr_warn("Couldn't initialize miscdevice /dev/synth.\n");
else { 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; misc_registered = 1;
} }
} }
......
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