iwlegacy: checkpatch.pl fixes
Fix most checkpatch.pl ERRORs and some WARNINGs. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
This commit is contained in:
@@ -56,8 +56,8 @@ il4965_stats_flag(struct il_priv *il, char *buf, int bufsz)
|
||||
}
|
||||
|
||||
ssize_t
|
||||
il4965_ucode_rx_stats_read(struct file * file, char __user * user_buf,
|
||||
size_t count, loff_t * ppos)
|
||||
il4965_ucode_rx_stats_read(struct file *file, char __user *user_buf,
|
||||
size_t count, loff_t *ppos)
|
||||
{
|
||||
struct il_priv *il = file->private_data;
|
||||
int pos = 0;
|
||||
@@ -468,8 +468,8 @@ il4965_ucode_rx_stats_read(struct file * file, char __user * user_buf,
|
||||
}
|
||||
|
||||
ssize_t
|
||||
il4965_ucode_tx_stats_read(struct file * file, char __user * user_buf,
|
||||
size_t count, loff_t * ppos)
|
||||
il4965_ucode_tx_stats_read(struct file *file, char __user *user_buf,
|
||||
size_t count, loff_t *ppos)
|
||||
{
|
||||
struct il_priv *il = file->private_data;
|
||||
int pos = 0;
|
||||
@@ -634,8 +634,8 @@ il4965_ucode_tx_stats_read(struct file * file, char __user * user_buf,
|
||||
}
|
||||
|
||||
ssize_t
|
||||
il4965_ucode_general_stats_read(struct file * file, char __user * user_buf,
|
||||
size_t count, loff_t * ppos)
|
||||
il4965_ucode_general_stats_read(struct file *file, char __user *user_buf,
|
||||
size_t count, loff_t *ppos)
|
||||
{
|
||||
struct il_priv *il = file->private_data;
|
||||
int pos = 0;
|
||||
|
Reference in New Issue
Block a user