From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-lb0-x233.google.com ([2a00:1450:4010:c04::233]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WYSwm-0003Z0-Sg for barebox@lists.infradead.org; Fri, 11 Apr 2014 04:20:13 +0000 Received: by mail-lb0-f179.google.com with SMTP id p9so3033944lbv.38 for ; Thu, 10 Apr 2014 21:19:48 -0700 (PDT) From: Antony Pavlov Date: Fri, 11 Apr 2014 08:19:42 +0400 Message-Id: <1397189982-31677-1-git-send-email-antonynpavlov@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH] net: usb: asix: fix formating To: barebox@lists.infradead.org Signed-off-by: Antony Pavlov --- 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