Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1622263

Re: [PATCH 3/3] input: touchscreen: ar1021_i2c: coding style fixes

From Dmitry Torokhov <dmitry.torokhov@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH 3/3] input: touchscreen: ar1021_i2c: coding style fixes
Date 2017-04-12 17:50 +0200
Message-ID <tvsGT-6f3-37@gated-at.bofh.it> (permalink)
References <tv1nj-5Mx-3@gated-at.bofh.it> <tv1nk-5Mx-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/3] input: touchscreen: ar1021_i2c: add support for AR1020 Martin Kepplinger <martin.kepplinger@ginzinger.com> - 2017-04-11 12:40 +0200
  [PATCH 2/3] Documentation: devicetree: bindings: add bindings doc for ar1021 driver Martin Kepplinger <martin.kepplinger@ginzinger.com> - 2017-04-11 12:40 +0200
    Re: [PATCH 2/3] Documentation: devicetree: bindings: add bindings  doc for ar1021 driver Rob Herring <robh@kernel.org> - 2017-04-13 22:50 +0200
      [PATCH v2] dt-bindings: input: add bindings document for ar1021_i2c driver Martin Kepplinger <martin.kepplinger@ginzinger.com> - 2017-04-14 08:20 +0200
        Re: [PATCH v2] dt-bindings: input: add bindings document for  ar1021_i2c driver Rob Herring <robh@kernel.org> - 2017-04-20 15:50 +0200
          Re: [PATCH v2] dt-bindings: input: add bindings document for  ar1021_i2c driver Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-04-20 19:50 +0200
  [PATCH 3/3] input: touchscreen: ar1021_i2c: coding style fixes Martin Kepplinger <martin.kepplinger@ginzinger.com> - 2017-04-11 12:40 +0200
    Re: [PATCH 3/3] input: touchscreen: ar1021_i2c: coding style fixes Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-04-12 17:50 +0200
  Re: [PATCH 1/3] input: touchscreen: ar1021_i2c: add support for  AR1020 Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-04-12 17:50 +0200
    Re: [PATCH 1/3] input: touchscreen: ar1021_i2c: add support for  AR1020 Martin Kepplinger <martin.kepplinger@ginzinger.com> - 2017-04-13 08:40 +0200
      Re: [PATCH 1/3] input: touchscreen: ar1021_i2c: add support for  AR1020 Rob Herring <robh@kernel.org> - 2017-04-13 22:40 +0200
        [PATCH v2] input: touchscreen: ar1021_i2c: highlight support for AR1020 Martin Kepplinger <martin.kepplinger@ginzinger.com> - 2017-04-14 08:10 +0200

csiph-web