summaryrefslogtreecommitdiffstats
path: root/drivers/fsi/fsi-scom.c
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2018-06-12 07:19:08 +0200
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2018-06-18 06:33:56 +0200
commitbd21336457922280ac0eccdb3aeec14a5bf1391b (patch)
treea503f720160504540fc883c6487c5975f1d2eaf2 /drivers/fsi/fsi-scom.c
parentfsi: scom: Add mutex around FSI2PIB accesses (diff)
downloadlinux-bd21336457922280ac0eccdb3aeec14a5bf1391b.tar.xz
linux-bd21336457922280ac0eccdb3aeec14a5bf1391b.zip
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>
Diffstat (limited to 'drivers/fsi/fsi-scom.c')
-rw-r--r--drivers/fsi/fsi-scom.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/fsi/fsi-scom.c b/drivers/fsi/fsi-scom.c
index 3cba0eb645e1..8a608db0aa07 100644
--- a/drivers/fsi/fsi-scom.c
+++ b/drivers/fsi/fsi-scom.c
@@ -49,7 +49,7 @@ static struct list_head scom_devices;
static DEFINE_IDA(scom_ida);
static int put_scom(struct scom_device *scom_dev, uint64_t value,
- uint32_t addr)
+ uint32_t addr)
{
int rc;
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,
- uint32_t addr)
+ uint32_t addr)
{
uint32_t result, data;
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,
- loff_t *offset)
+ loff_t *offset)
{
int rc;
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,
- size_t len, loff_t *offset)
+ size_t len, loff_t *offset)
{
int rc;
struct miscdevice *mdev = filep->private_data;