mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Antony Pavlov <antonynpavlov@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] net: usb: asix: fix formating
Date: Wed, 23 Apr 2014 12:04:46 +0200	[thread overview]
Message-ID: <20140423100446.GN5858@pengutronix.de> (raw)
In-Reply-To: <1397189982-31677-1-git-send-email-antonynpavlov@gmail.com>

On Fri, Apr 11, 2014 at 08:19:42AM +0400, Antony Pavlov wrote:
> Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>

Applied, thanks

Sascha

> ---
>  drivers/net/usb/asix.c | 17 ++++++++---------
>  1 file changed, 8 insertions(+), 9 deletions(-)
> 
> diff --git a/drivers/net/usb/asix.c b/drivers/net/usb/asix.c
> index 37057a7..2145d3f 100644
> --- a/drivers/net/usb/asix.c
> +++ b/drivers/net/usb/asix.c
> @@ -286,7 +286,7 @@ static int asix_sw_reset(struct usbnet *dev, u8 flags)
>  {
>  	int ret;
>  
> -        ret = asix_write_cmd(dev, AX_CMD_SW_RESET, flags, 0, 0, NULL);
> +	ret = asix_write_cmd(dev, AX_CMD_SW_RESET, flags, 0, 0, NULL);
>  	if (ret < 0)
>  		dev_err(&dev->edev.dev, "Failed to send software reset: %02x\n", ret);
>  
> @@ -453,8 +453,8 @@ static int asix_rx_fixup(struct usbnet *dev, void *buf, int len)
>  }
>  
>  static int asix_tx_fixup(struct usbnet *dev,
> -                                void *buf, int len,
> -                                void *nbuf, int *nlen)
> +				void *buf, int len,
> +				void *nbuf, int *nlen)
>  {
>  	unsigned int packet_len;
>  
> @@ -696,10 +696,10 @@ static struct driver_info ax88772b_info = {
>  	.description = "ASIX AX88772B USB 2.0 Ethernet",
>  	.bind = ax88772_bind,
>  	.unbind = asix_unbind,
> -        .flags = FLAG_ETHER | FLAG_FRAMING_AX,
> -        .rx_fixup = asix_rx_fixup,
> -        .tx_fixup = asix_tx_fixup,
> -        .data = FLAG_EEPROM_MAC,
> +	.flags = FLAG_ETHER | FLAG_FRAMING_AX,
> +	.rx_fixup = asix_rx_fixup,
> +	.tx_fixup = asix_tx_fixup,
> +	.data = FLAG_EEPROM_MAC,
>  };
>  
>  static const struct usb_device_id products [] = {
> @@ -800,7 +800,6 @@ static struct usb_driver asix_driver = {
>  
>  static int __init asix_init(void)
>  {
> - 	return usb_driver_register(&asix_driver);
> +	return usb_driver_register(&asix_driver);
>  }
>  device_initcall(asix_init);
> -
> -- 
> 1.9.0
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2014-04-23 10:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-11  4:19 Antony Pavlov
2014-04-23 10:04 ` Sascha Hauer [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=20140423100446.GN5858@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=antonynpavlov@gmail.com \
    --cc=barebox@lists.infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox