From: Jonathan Cameron <jic23@kernel.org>
To: Tolga Ceylan <tolga.ceylan@gmail.com>,
Lars-Peter Clausen <lars@metafoo.de>,
Michael Hennerich <Michael.Hennerich@analog.com>,
Hartmut Knaack <knaack.h@gmx.de>,
Peter Meerwald <pmeerw@pmeerw.net>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-iio@vger.kernel.org, devel@driverdev.osuosl.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/3] Staging: iio: meter: ade7854-i2c: code style improvements
Date: Sun, 08 Mar 2015 11:59:17 +0000 [thread overview]
Message-ID: <54FC3995.4010503@kernel.org> (raw)
In-Reply-To: <1423974765-1782-1-git-send-email-tolga.ceylan@gmail.com>
On 15/02/15 04:32, Tolga Ceylan wrote:
> Code reformatting based on checkpatch.pl with --strict:
> Alignment should match open paranthesis cases corrected
>
> Signed-off-by: Tolga Ceylan <tolga.ceylan@gmail.com>
Applied to the togreg branch of iio.git - will initially be pushed
out as testing for the autobuilders to play.
Thanks
Jonathan
> ---
> drivers/staging/iio/meter/ade7854-i2c.c | 34 ++++++++++++++++-----------------
> 1 file changed, 17 insertions(+), 17 deletions(-)
>
> diff --git a/drivers/staging/iio/meter/ade7854-i2c.c b/drivers/staging/iio/meter/ade7854-i2c.c
> index 5b33c7f..85a7e84 100644
> --- a/drivers/staging/iio/meter/ade7854-i2c.c
> +++ b/drivers/staging/iio/meter/ade7854-i2c.c
> @@ -16,8 +16,8 @@
> #include "ade7854.h"
>
> static int ade7854_i2c_write_reg_8(struct device *dev,
> - u16 reg_address,
> - u8 value)
> + u16 reg_address,
> + u8 value)
> {
> int ret;
> struct iio_dev *indio_dev = dev_to_iio_dev(dev);
> @@ -35,8 +35,8 @@ static int ade7854_i2c_write_reg_8(struct device *dev,
> }
>
> static int ade7854_i2c_write_reg_16(struct device *dev,
> - u16 reg_address,
> - u16 value)
> + u16 reg_address,
> + u16 value)
> {
> int ret;
> struct iio_dev *indio_dev = dev_to_iio_dev(dev);
> @@ -55,8 +55,8 @@ static int ade7854_i2c_write_reg_16(struct device *dev,
> }
>
> static int ade7854_i2c_write_reg_24(struct device *dev,
> - u16 reg_address,
> - u32 value)
> + u16 reg_address,
> + u32 value)
> {
> int ret;
> struct iio_dev *indio_dev = dev_to_iio_dev(dev);
> @@ -76,8 +76,8 @@ static int ade7854_i2c_write_reg_24(struct device *dev,
> }
>
> static int ade7854_i2c_write_reg_32(struct device *dev,
> - u16 reg_address,
> - u32 value)
> + u16 reg_address,
> + u32 value)
> {
> int ret;
> struct iio_dev *indio_dev = dev_to_iio_dev(dev);
> @@ -98,8 +98,8 @@ static int ade7854_i2c_write_reg_32(struct device *dev,
> }
>
> static int ade7854_i2c_read_reg_8(struct device *dev,
> - u16 reg_address,
> - u8 *val)
> + u16 reg_address,
> + u8 *val)
> {
> struct iio_dev *indio_dev = dev_to_iio_dev(dev);
> struct ade7854_state *st = iio_priv(indio_dev);
> @@ -124,8 +124,8 @@ out:
> }
>
> static int ade7854_i2c_read_reg_16(struct device *dev,
> - u16 reg_address,
> - u16 *val)
> + u16 reg_address,
> + u16 *val)
> {
> struct iio_dev *indio_dev = dev_to_iio_dev(dev);
> struct ade7854_state *st = iio_priv(indio_dev);
> @@ -150,8 +150,8 @@ out:
> }
>
> static int ade7854_i2c_read_reg_24(struct device *dev,
> - u16 reg_address,
> - u32 *val)
> + u16 reg_address,
> + u32 *val)
> {
> struct iio_dev *indio_dev = dev_to_iio_dev(dev);
> struct ade7854_state *st = iio_priv(indio_dev);
> @@ -176,8 +176,8 @@ out:
> }
>
> static int ade7854_i2c_read_reg_32(struct device *dev,
> - u16 reg_address,
> - u32 *val)
> + u16 reg_address,
> + u32 *val)
> {
> struct iio_dev *indio_dev = dev_to_iio_dev(dev);
> struct ade7854_state *st = iio_priv(indio_dev);
> @@ -202,7 +202,7 @@ out:
> }
>
> static int ade7854_i2c_probe(struct i2c_client *client,
> - const struct i2c_device_id *id)
> + const struct i2c_device_id *id)
> {
> int ret;
> struct ade7854_state *st;
>
prev parent reply other threads:[~2015-03-08 11:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-15 4:32 [PATCH 1/3] Staging: iio: meter: ade7854-i2c: code style improvements Tolga Ceylan
2015-02-15 4:32 ` [PATCH 2/3] " Tolga Ceylan
2015-03-08 12:01 ` Jonathan Cameron
2015-02-15 4:32 ` [PATCH 3/3] " Tolga Ceylan
2015-03-08 12:02 ` Jonathan Cameron
2015-03-08 11:59 ` Jonathan Cameron [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54FC3995.4010503@kernel.org \
--to=jic23@kernel.org \
--cc=Michael.Hennerich@analog.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pmeerw@pmeerw.net \
--cc=tolga.ceylan@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.