]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: speakup: kobjects: Rearrange headers
authorTamara Diaconita <diaconitatamara@gmail.com>
Tue, 7 Mar 2017 16:38:40 +0000 (18:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Mar 2017 13:29:40 +0000 (14:29 +0100)
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: Tamara Diaconita <diaconita.tamara@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/kobjects.c

index dbdf0a7277995bfaa8deb1f72e95d5e15d661f8a..a53628867966739579fcd0979f3cf231f27d090e 100644 (file)
@@ -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.
  */
 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 *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,
  * This is called when text is sent to the synth via the synth_direct file.
  */
 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];
        int len;