staging: wilc1000: Function signature too long

Splitting functions signature across several lines to fin in the
80 characters limit

Signed-off-by: Vincent Siles <vincent.siles@provenrun.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Vincent Siles 2017-05-02 16:18:41 +02:00 committed by Greg Kroah-Hartman
parent 8bf2f0b22b
commit 896fce0c68

View file

@ -35,7 +35,8 @@ EXPORT_SYMBOL_GPL(WILC_DEBUG_LEVEL);
* ----------------------------------------------------------------------------
*/
static ssize_t wilc_debug_level_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos)
static ssize_t wilc_debug_level_read(struct file *file, char __user *userbuf,
size_t count, loff_t *ppos)
{
char buf[128];
int res = 0;
@ -49,8 +50,9 @@ static ssize_t wilc_debug_level_read(struct file *file, char __user *userbuf, si
return simple_read_from_buffer(userbuf, count, ppos, buf, res);
}
static ssize_t wilc_debug_level_write(struct file *filp, const char __user *buf,
size_t count, loff_t *ppos)
static ssize_t wilc_debug_level_write(struct file *filp,
const char __user *buf, size_t count,
loff_t *ppos)
{
int flag = 0;
int ret;