i2c-dev: Fix all coding style issues
Fix all coding style issues found by checkpatch.pl. Signed-off-by: Farid Hammane <farid.hammane@gmail.com> Signed-off-by: Jean Delvare <khali@linux-fr.org>
This commit is contained in:
parent
7225acf4aa
commit
ae5624fc36
1 changed files with 15 additions and 15 deletions
|
@ -35,7 +35,7 @@
|
|||
#include <linux/i2c.h>
|
||||
#include <linux/i2c-dev.h>
|
||||
#include <linux/jiffies.h>
|
||||
#include <asm/uaccess.h>
|
||||
#include <linux/uaccess.h>
|
||||
|
||||
static struct i2c_driver i2cdev_driver;
|
||||
|
||||
|
@ -157,8 +157,8 @@ static ssize_t i2cdev_read (struct file *file, char __user *buf, size_t count,
|
|||
return ret;
|
||||
}
|
||||
|
||||
static ssize_t i2cdev_write (struct file *file, const char __user *buf, size_t count,
|
||||
loff_t *offset)
|
||||
static ssize_t i2cdev_write(struct file *file, const char __user *buf,
|
||||
size_t count, loff_t *offset)
|
||||
{
|
||||
int ret;
|
||||
char *tmp;
|
||||
|
|
Loading…
Reference in a new issue