net: usb: asix: fix formating
Subsystems (2)
PATCH 1/1 net: usb: asix: fix formating
Signed-off-by Antony Pavlov <[email protected]>
--- drivers/net/usb/asix.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-)
drivers/net/usb/asix.c +8 -9
@@ -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); -
Signature · 7 lines
1.9.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
AppliedQuoted 1 line · Antony Pavlov
Signed-off-by Antony Pavlov <[email protected]>
Applied, thanks
Sascha
Quoted 61 lines
--- drivers/net/usb/asix.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-)drivers/net/usb/asix.c +8
-9@@ -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); -Signature · 7 lines
1.9.0 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Signature · 9 lines
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 [email protected] http://lists.infradead.org/mailman/listinfo/barebox