All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Martin Kepplinger <martin.kepplinger@ginzinger.com>
Cc: christian.gmeiner@gmail.com, linux@roeck-us.net,
	linux-input@vger.kernel.org, linux-kernel@vger.kernel.org,
	devicetree@vger.kernel.org
Subject: Re: [PATCH 3/3] input: touchscreen: ar1021_i2c: coding style fixes
Date: Wed, 12 Apr 2017 08:41:31 -0700	[thread overview]
Message-ID: <20170412154131.GC6297@dtor-ws> (raw)
In-Reply-To: <1491906479-17639-3-git-send-email-martin.kepplinger@ginzinger.com>

On Tue, Apr 11, 2017 at 12:27:59PM +0200, Martin Kepplinger wrote:
> Use the common kernel coding style and corrently align parameters with
> open parenthesis.
> 
> Signed-off-by: Martin Kepplinger <martin.kepplinger@ginzinger.com>

Applied, thank you.

> ---
>  drivers/input/touchscreen/ar1021_i2c.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/input/touchscreen/ar1021_i2c.c b/drivers/input/touchscreen/ar1021_i2c.c
> index 1767257..cac7eeb 100644
> --- a/drivers/input/touchscreen/ar1021_i2c.c
> +++ b/drivers/input/touchscreen/ar1021_i2c.c
> @@ -38,7 +38,7 @@ static irqreturn_t ar1021_i2c_irq(int irq, void *dev_id)
>  	int retval;
>  
>  	retval = i2c_master_recv(ar1021->client,
> -				ar1021->data, sizeof(ar1021->data));
> +				 ar1021->data, sizeof(ar1021->data));
>  	if (retval != sizeof(ar1021->data))
>  		goto out;
>  
> @@ -78,7 +78,7 @@ static void ar1021_i2c_close(struct input_dev *dev)
>  }
>  
>  static int ar1021_i2c_probe(struct i2c_client *client,
> -				     const struct i2c_device_id *id)
> +			    const struct i2c_device_id *id)
>  {
>  	struct ar1021_i2c *ar1021;
>  	struct input_dev *input;
> -- 
> 2.1.4
> 

-- 
Dmitry

WARNING: multiple messages have this Message-ID (diff)
From: Dmitry Torokhov <dmitry.torokhov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Martin Kepplinger
	<martin.kepplinger-hfTNJOUbDMh54TAoqtyWWQ@public.gmane.org>
Cc: christian.gmeiner-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	linux-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org,
	linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 3/3] input: touchscreen: ar1021_i2c: coding style fixes
Date: Wed, 12 Apr 2017 08:41:31 -0700	[thread overview]
Message-ID: <20170412154131.GC6297@dtor-ws> (raw)
In-Reply-To: <1491906479-17639-3-git-send-email-martin.kepplinger-hfTNJOUbDMh54TAoqtyWWQ@public.gmane.org>

On Tue, Apr 11, 2017 at 12:27:59PM +0200, Martin Kepplinger wrote:
> Use the common kernel coding style and corrently align parameters with
> open parenthesis.
> 
> Signed-off-by: Martin Kepplinger <martin.kepplinger-hfTNJOUbDMh54TAoqtyWWQ@public.gmane.org>

Applied, thank you.

> ---
>  drivers/input/touchscreen/ar1021_i2c.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/input/touchscreen/ar1021_i2c.c b/drivers/input/touchscreen/ar1021_i2c.c
> index 1767257..cac7eeb 100644
> --- a/drivers/input/touchscreen/ar1021_i2c.c
> +++ b/drivers/input/touchscreen/ar1021_i2c.c
> @@ -38,7 +38,7 @@ static irqreturn_t ar1021_i2c_irq(int irq, void *dev_id)
>  	int retval;
>  
>  	retval = i2c_master_recv(ar1021->client,
> -				ar1021->data, sizeof(ar1021->data));
> +				 ar1021->data, sizeof(ar1021->data));
>  	if (retval != sizeof(ar1021->data))
>  		goto out;
>  
> @@ -78,7 +78,7 @@ static void ar1021_i2c_close(struct input_dev *dev)
>  }
>  
>  static int ar1021_i2c_probe(struct i2c_client *client,
> -				     const struct i2c_device_id *id)
> +			    const struct i2c_device_id *id)
>  {
>  	struct ar1021_i2c *ar1021;
>  	struct input_dev *input;
> -- 
> 2.1.4
> 

-- 
Dmitry
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2017-04-12 15:41 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-11 10:27 [PATCH 1/3] input: touchscreen: ar1021_i2c: add support for AR1020 Martin Kepplinger
2017-04-11 10:27 ` Martin Kepplinger
2017-04-11 10:27 ` [PATCH 2/3] Documentation: devicetree: bindings: add bindings doc for ar1021 driver Martin Kepplinger
2017-04-11 10:27   ` Martin Kepplinger
2017-04-13 20:40   ` Rob Herring
2017-04-13 20:40     ` Rob Herring
2017-04-14  6:11     ` [PATCH v2] dt-bindings: input: add bindings document for ar1021_i2c driver Martin Kepplinger
2017-04-14  6:11       ` Martin Kepplinger
2017-04-20 13:40       ` Rob Herring
2017-04-20 17:42         ` Dmitry Torokhov
2017-04-11 10:27 ` [PATCH 3/3] input: touchscreen: ar1021_i2c: coding style fixes Martin Kepplinger
2017-04-11 10:27   ` Martin Kepplinger
2017-04-12 15:41   ` Dmitry Torokhov [this message]
2017-04-12 15:41     ` Dmitry Torokhov
2017-04-12 15:40 ` [PATCH 1/3] input: touchscreen: ar1021_i2c: add support for AR1020 Dmitry Torokhov
2017-04-12 15:40   ` Dmitry Torokhov
2017-04-13  6:38   ` Martin Kepplinger
2017-04-13  6:38     ` Martin Kepplinger
2017-04-13 20:35     ` Rob Herring
2017-04-13 20:35       ` Rob Herring
2017-04-14  6:02       ` [PATCH v2] input: touchscreen: ar1021_i2c: highlight " Martin Kepplinger
2017-04-14  6:02         ` Martin Kepplinger

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=20170412154131.GC6297@dtor-ws \
    --to=dmitry.torokhov@gmail.com \
    --cc=christian.gmeiner@gmail.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=martin.kepplinger@ginzinger.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.