summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTamara Diaconita <diaconitatamara@gmail.com>2017-03-07 18:38:40 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-09 14:29:40 +0100
commit6f7c59a8c75f16fd4e872792ec45e83e7ed9e03e (patch)
tree84b2bafd45683f76a684e6c733478cb6b173fcd6
parentc9219a55f0ab3db6f34c018cc935a43a70e8674e (diff)
downloadop-kernel-dev-6f7c59a8c75f16fd4e872792ec45e83e7ed9e03e.zip
op-kernel-dev-6f7c59a8c75f16fd4e872792ec45e83e7ed9e03e.tar.gz
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>
-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 dbdf0a7..a536288 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;
OpenPOWER on IntegriCloud