mirror of https://gitee.com/openkylin/linux.git
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:
parent
8bf2f0b22b
commit
896fce0c68
|
@ -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];
|
char buf[128];
|
||||||
int res = 0;
|
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);
|
return simple_read_from_buffer(userbuf, count, ppos, buf, res);
|
||||||
}
|
}
|
||||||
|
|
||||||
static ssize_t wilc_debug_level_write(struct file *filp, const char __user *buf,
|
static ssize_t wilc_debug_level_write(struct file *filp,
|
||||||
size_t count, loff_t *ppos)
|
const char __user *buf, size_t count,
|
||||||
|
loff_t *ppos)
|
||||||
{
|
{
|
||||||
int flag = 0;
|
int flag = 0;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
Loading…
Reference in New Issue