Commit d1682a9a authored by Johanna Abrahamsson's avatar Johanna Abrahamsson Committed by Jonathan Cameron

staging: iio: ade7854: checkpatch fixes (alignment of parameters)

CHECK: Alignment should match open parenthesis
Signed-off-by: default avatarJohanna Abrahamsson <johanna@mjao.org>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent ce08cc98
...@@ -23,8 +23,8 @@ ...@@ -23,8 +23,8 @@
#include "ade7854.h" #include "ade7854.h"
static ssize_t ade7854_read_8bit(struct device *dev, static ssize_t ade7854_read_8bit(struct device *dev,
struct device_attribute *attr, struct device_attribute *attr,
char *buf) char *buf)
{ {
int ret; int ret;
u8 val = 0; u8 val = 0;
...@@ -40,8 +40,8 @@ static ssize_t ade7854_read_8bit(struct device *dev, ...@@ -40,8 +40,8 @@ static ssize_t ade7854_read_8bit(struct device *dev,
} }
static ssize_t ade7854_read_16bit(struct device *dev, static ssize_t ade7854_read_16bit(struct device *dev,
struct device_attribute *attr, struct device_attribute *attr,
char *buf) char *buf)
{ {
int ret; int ret;
u16 val = 0; u16 val = 0;
...@@ -57,8 +57,8 @@ static ssize_t ade7854_read_16bit(struct device *dev, ...@@ -57,8 +57,8 @@ static ssize_t ade7854_read_16bit(struct device *dev,
} }
static ssize_t ade7854_read_24bit(struct device *dev, static ssize_t ade7854_read_24bit(struct device *dev,
struct device_attribute *attr, struct device_attribute *attr,
char *buf) char *buf)
{ {
int ret; int ret;
u32 val; u32 val;
...@@ -74,8 +74,8 @@ static ssize_t ade7854_read_24bit(struct device *dev, ...@@ -74,8 +74,8 @@ static ssize_t ade7854_read_24bit(struct device *dev,
} }
static ssize_t ade7854_read_32bit(struct device *dev, static ssize_t ade7854_read_32bit(struct device *dev,
struct device_attribute *attr, struct device_attribute *attr,
char *buf) char *buf)
{ {
int ret; int ret;
u32 val = 0; u32 val = 0;
...@@ -91,9 +91,9 @@ static ssize_t ade7854_read_32bit(struct device *dev, ...@@ -91,9 +91,9 @@ static ssize_t ade7854_read_32bit(struct device *dev,
} }
static ssize_t ade7854_write_8bit(struct device *dev, static ssize_t ade7854_write_8bit(struct device *dev,
struct device_attribute *attr, struct device_attribute *attr,
const char *buf, const char *buf,
size_t len) size_t len)
{ {
struct iio_dev_attr *this_attr = to_iio_dev_attr(attr); struct iio_dev_attr *this_attr = to_iio_dev_attr(attr);
struct iio_dev *indio_dev = dev_to_iio_dev(dev); struct iio_dev *indio_dev = dev_to_iio_dev(dev);
...@@ -112,9 +112,9 @@ static ssize_t ade7854_write_8bit(struct device *dev, ...@@ -112,9 +112,9 @@ static ssize_t ade7854_write_8bit(struct device *dev,
} }
static ssize_t ade7854_write_16bit(struct device *dev, static ssize_t ade7854_write_16bit(struct device *dev,
struct device_attribute *attr, struct device_attribute *attr,
const char *buf, const char *buf,
size_t len) size_t len)
{ {
struct iio_dev_attr *this_attr = to_iio_dev_attr(attr); struct iio_dev_attr *this_attr = to_iio_dev_attr(attr);
struct iio_dev *indio_dev = dev_to_iio_dev(dev); struct iio_dev *indio_dev = dev_to_iio_dev(dev);
...@@ -133,9 +133,9 @@ static ssize_t ade7854_write_16bit(struct device *dev, ...@@ -133,9 +133,9 @@ static ssize_t ade7854_write_16bit(struct device *dev,
} }
static ssize_t ade7854_write_24bit(struct device *dev, static ssize_t ade7854_write_24bit(struct device *dev,
struct device_attribute *attr, struct device_attribute *attr,
const char *buf, const char *buf,
size_t len) size_t len)
{ {
struct iio_dev_attr *this_attr = to_iio_dev_attr(attr); struct iio_dev_attr *this_attr = to_iio_dev_attr(attr);
struct iio_dev *indio_dev = dev_to_iio_dev(dev); struct iio_dev *indio_dev = dev_to_iio_dev(dev);
...@@ -154,9 +154,9 @@ static ssize_t ade7854_write_24bit(struct device *dev, ...@@ -154,9 +154,9 @@ static ssize_t ade7854_write_24bit(struct device *dev,
} }
static ssize_t ade7854_write_32bit(struct device *dev, static ssize_t ade7854_write_32bit(struct device *dev,
struct device_attribute *attr, struct device_attribute *attr,
const char *buf, const char *buf,
size_t len) size_t len)
{ {
struct iio_dev_attr *this_attr = to_iio_dev_attr(attr); struct iio_dev_attr *this_attr = to_iio_dev_attr(attr);
struct iio_dev *indio_dev = dev_to_iio_dev(dev); struct iio_dev *indio_dev = dev_to_iio_dev(dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment