1
0
Fork 0

fsi: scom: Whitespace fixes

No functional changes

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Reviewed-by: Eddie James <eajames@linux.vnet.ibm.com>
hifive-unleashed-5.1
Benjamin Herrenschmidt 2018-06-12 15:19:08 +10:00
parent 162c394673
commit bd21336457
1 changed files with 4 additions and 4 deletions

View File

@ -49,7 +49,7 @@ static struct list_head scom_devices;
static DEFINE_IDA(scom_ida); static DEFINE_IDA(scom_ida);
static int put_scom(struct scom_device *scom_dev, uint64_t value, static int put_scom(struct scom_device *scom_dev, uint64_t value,
uint32_t addr) uint32_t addr)
{ {
int rc; int rc;
uint32_t data; uint32_t data;
@ -77,7 +77,7 @@ static int put_scom(struct scom_device *scom_dev, uint64_t value,
} }
static int get_scom(struct scom_device *scom_dev, uint64_t *value, static int get_scom(struct scom_device *scom_dev, uint64_t *value,
uint32_t addr) uint32_t addr)
{ {
uint32_t result, data; uint32_t result, data;
int rc; int rc;
@ -110,7 +110,7 @@ static int get_scom(struct scom_device *scom_dev, uint64_t *value,
} }
static ssize_t scom_read(struct file *filep, char __user *buf, size_t len, static ssize_t scom_read(struct file *filep, char __user *buf, size_t len,
loff_t *offset) loff_t *offset)
{ {
int rc; int rc;
struct miscdevice *mdev = struct miscdevice *mdev =
@ -136,7 +136,7 @@ static ssize_t scom_read(struct file *filep, char __user *buf, size_t len,
} }
static ssize_t scom_write(struct file *filep, const char __user *buf, static ssize_t scom_write(struct file *filep, const char __user *buf,
size_t len, loff_t *offset) size_t len, loff_t *offset)
{ {
int rc; int rc;
struct miscdevice *mdev = filep->private_data; struct miscdevice *mdev = filep->private_data;