diff options
author | hayeswang <hayeswang@realtek.com> | 2014-01-06 04:08:41 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-06 16:24:09 -0500 |
commit | 45f4a19f6d0174aff665dad46128960f66cbcfdf (patch) | |
tree | 5e2f499f4d0353edd5a9965dcd8cf33a28bf5a18 | |
parent | d4b36210c2e6ecef0ce52fb6c18c51144f5c2d88 (diff) |
r8152: replace some tabs with spaces
Replace the tabs of the variables declaration with the spaces.
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/usb/r8152.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index 13fabbbaf54d..095f15b56e7c 100644 --- a/drivers/net/usb/r8152.c +++ b/drivers/net/usb/r8152.c | |||
@@ -584,8 +584,8 @@ int set_registers(struct r8152 *tp, u16 value, u16 index, u16 size, void *data) | |||
584 | static int generic_ocp_read(struct r8152 *tp, u16 index, u16 size, | 584 | static int generic_ocp_read(struct r8152 *tp, u16 index, u16 size, |
585 | void *data, u16 type) | 585 | void *data, u16 type) |
586 | { | 586 | { |
587 | u16 limit = 64; | 587 | u16 limit = 64; |
588 | int ret = 0; | 588 | int ret = 0; |
589 | 589 | ||
590 | if (test_bit(RTL8152_UNPLUG, &tp->flags)) | 590 | if (test_bit(RTL8152_UNPLUG, &tp->flags)) |
591 | return -ENODEV; | 591 | return -ENODEV; |
@@ -624,9 +624,9 @@ static int generic_ocp_read(struct r8152 *tp, u16 index, u16 size, | |||
624 | static int generic_ocp_write(struct r8152 *tp, u16 index, u16 byteen, | 624 | static int generic_ocp_write(struct r8152 *tp, u16 index, u16 byteen, |
625 | u16 size, void *data, u16 type) | 625 | u16 size, void *data, u16 type) |
626 | { | 626 | { |
627 | int ret; | 627 | int ret; |
628 | u16 byteen_start, byteen_end, byen; | 628 | u16 byteen_start, byteen_end, byen; |
629 | u16 limit = 512; | 629 | u16 limit = 512; |
630 | 630 | ||
631 | if (test_bit(RTL8152_UNPLUG, &tp->flags)) | 631 | if (test_bit(RTL8152_UNPLUG, &tp->flags)) |
632 | return -ENODEV; | 632 | return -ENODEV; |
@@ -1812,8 +1812,8 @@ static void r8152b_exit_oob(struct r8152 *tp) | |||
1812 | 1812 | ||
1813 | static void r8152b_enter_oob(struct r8152 *tp) | 1813 | static void r8152b_enter_oob(struct r8152 *tp) |
1814 | { | 1814 | { |
1815 | u32 ocp_data; | 1815 | u32 ocp_data; |
1816 | int i; | 1816 | int i; |
1817 | 1817 | ||
1818 | ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_OOB_CTRL); | 1818 | ocp_data = ocp_read_byte(tp, MCU_TYPE_PLA, PLA_OOB_CTRL); |
1819 | ocp_data &= ~NOW_IS_OOB; | 1819 | ocp_data &= ~NOW_IS_OOB; |
@@ -2340,7 +2340,7 @@ static void r8153_clear_bp(struct r8152 *tp) | |||
2340 | 2340 | ||
2341 | static void r8152b_enable_eee(struct r8152 *tp) | 2341 | static void r8152b_enable_eee(struct r8152 *tp) |
2342 | { | 2342 | { |
2343 | u32 ocp_data; | 2343 | u32 ocp_data; |
2344 | 2344 | ||
2345 | ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_EEE_CR); | 2345 | ocp_data = ocp_read_word(tp, MCU_TYPE_PLA, PLA_EEE_CR); |
2346 | ocp_data |= EEE_RX_EN | EEE_TX_EN; | 2346 | ocp_data |= EEE_RX_EN | EEE_TX_EN; |