Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 896fce0c authored by Vincent Siles's avatar Vincent Siles Committed by Greg Kroah-Hartman
Browse files

staging: wilc1000: Function signature too long



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

Signed-off-by: default avatarVincent Siles <vincent.siles@provenrun.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8bf2f0b2
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -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;