summaryrefslogtreecommitdiffstats
path: root/drivers/staging/speakup/kobjects.c
diff options
context:
space:
mode:
authorTamara Diaconita2017-03-07 17:38:40 +0100
committerGreg Kroah-Hartman2017-03-09 14:29:40 +0100
commit6f7c59a8c75f16fd4e872792ec45e83e7ed9e03e (patch)
tree84b2bafd45683f76a684e6c733478cb6b173fcd6 /drivers/staging/speakup/kobjects.c
parentstaging: speakup: kobjects: Align the code (diff)
downloadkernel-qcow2-linux-6f7c59a8c75f16fd4e872792ec45e83e7ed9e03e.tar.gz
kernel-qcow2-linux-6f7c59a8c75f16fd4e872792ec45e83e7ed9e03e.tar.xz
kernel-qcow2-linux-6f7c59a8c75f16fd4e872792ec45e83e7ed9e03e.zip
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: Tamara Diaconita <diaconita.tamara@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/speakup/kobjects.c')
-rw-r--r--drivers/staging/speakup/kobjects.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/staging/speakup/kobjects.c b/drivers/staging/speakup/kobjects.c
index dbdf0a727799..a53628867966 100644
--- a/drivers/staging/speakup/kobjects.c
+++ b/drivers/staging/speakup/kobjects.c
@@ -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;