Commit 6f7c59a8 authored by Tamara Diaconita's avatar Tamara Diaconita Committed by Greg Kroah-Hartman

staging: speakup: kobjects: Rearrange headers

Put a part from the headers of some functions in a new line to have less than
80 characters.

Fixed the checkpath.pl issue:
CHECK: line over 80 characters.
Signed-off-by: default avatarTamara Diaconita <diaconita.tamara@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c9219a55
...@@ -106,7 +106,8 @@ static void report_char_chartab_status(int reset, int received, int used, ...@@ -106,7 +106,8 @@ static void report_char_chartab_status(int reset, int received, int used,
* This is called when a user changes the characters or chartab parameters. * This is called when a user changes the characters or chartab parameters.
*/ */
static ssize_t chars_chartab_store(struct kobject *kobj, static ssize_t chars_chartab_store(struct kobject *kobj,
struct kobj_attribute *attr, const char *buf, size_t count) struct kobj_attribute *attr,
const char *buf, size_t count)
{ {
char *cp = (char *)buf; char *cp = (char *)buf;
char *end = cp + count; /* the null at the end of the buffer */ char *end = cp + count; /* the null at the end of the buffer */
...@@ -404,7 +405,8 @@ static ssize_t synth_store(struct kobject *kobj, struct kobj_attribute *attr, ...@@ -404,7 +405,8 @@ static ssize_t synth_store(struct kobject *kobj, struct kobj_attribute *attr,
* This is called when text is sent to the synth via the synth_direct file. * This is called when text is sent to the synth via the synth_direct file.
*/ */
static ssize_t synth_direct_store(struct kobject *kobj, static ssize_t synth_direct_store(struct kobject *kobj,
struct kobj_attribute *attr, const char *buf, size_t count) struct kobj_attribute *attr,
const char *buf, size_t count)
{ {
u_char tmp[256]; u_char tmp[256];
int len; int len;
......
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