net: dsa: felix: replace tabs with spaces
authorVladimir Oltean <vladimir.oltean@nxp.com>
Fri, 18 Sep 2020 10:57:49 +0000 (13:57 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Sep 2020 00:52:40 +0000 (17:52 -0700)
Over the time, some patches have introduced structures aligned with
spaces, near structures aligned with tabs. Fix the inconsistencies.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/ocelot/felix.c
drivers/net/dsa/ocelot/felix.h
drivers/net/dsa/ocelot/felix_vsc9959.c

index a1e1d38..ad68eb2 100644 (file)
@@ -797,7 +797,7 @@ const struct dsa_switch_ops felix_switch_ops = {
        .cls_flower_add         = felix_cls_flower_add,
        .cls_flower_del         = felix_cls_flower_del,
        .cls_flower_stats       = felix_cls_flower_stats,
-       .port_setup_tc          = felix_port_setup_tc,
+       .port_setup_tc          = felix_port_setup_tc,
 };
 
 static int __init felix_init(void)
index 9bceb99..807f18b 100644 (file)
@@ -20,7 +20,7 @@ struct felix_info {
        const struct ocelot_stat_layout *stats_layout;
        unsigned int                    num_stats;
        int                             num_ports;
-       int                             num_tx_queues;
+       int                             num_tx_queues;
        struct vcap_field               *vcap_is2_keys;
        struct vcap_field               *vcap_is2_actions;
        const struct vcap_props         *vcap;
index 6f6e4ef..4dbc328 100644 (file)
@@ -296,15 +296,15 @@ static const u32 vsc9959_sys_regmap[] = {
 };
 
 static const u32 vsc9959_ptp_regmap[] = {
-       REG(PTP_PIN_CFG,                   0x000000),
-       REG(PTP_PIN_TOD_SEC_MSB,           0x000004),
-       REG(PTP_PIN_TOD_SEC_LSB,           0x000008),
-       REG(PTP_PIN_TOD_NSEC,              0x00000c),
-       REG(PTP_PIN_WF_HIGH_PERIOD,        0x000014),
-       REG(PTP_PIN_WF_LOW_PERIOD,         0x000018),
-       REG(PTP_CFG_MISC,                  0x0000a0),
-       REG(PTP_CLK_CFG_ADJ_CFG,           0x0000a4),
-       REG(PTP_CLK_CFG_ADJ_FREQ,          0x0000a8),
+       REG(PTP_PIN_CFG,                        0x000000),
+       REG(PTP_PIN_TOD_SEC_MSB,                0x000004),
+       REG(PTP_PIN_TOD_SEC_LSB,                0x000008),
+       REG(PTP_PIN_TOD_NSEC,                   0x00000c),
+       REG(PTP_PIN_WF_HIGH_PERIOD,             0x000014),
+       REG(PTP_PIN_WF_LOW_PERIOD,              0x000018),
+       REG(PTP_CFG_MISC,                       0x0000a0),
+       REG(PTP_CLK_CFG_ADJ_CFG,                0x0000a4),
+       REG(PTP_CLK_CFG_ADJ_FREQ,               0x0000a8),
 };
 
 static const u32 vsc9959_gcb_regmap[] = {
@@ -1173,8 +1173,8 @@ static const struct felix_info felix_info_vsc9959 = {
        .mdio_bus_free          = vsc9959_mdio_bus_free,
        .phylink_validate       = vsc9959_phylink_validate,
        .prevalidate_phy_mode   = vsc9959_prevalidate_phy_mode,
-       .port_setup_tc          = vsc9959_port_setup_tc,
-       .port_sched_speed_set   = vsc9959_sched_speed_set,
+       .port_setup_tc          = vsc9959_port_setup_tc,
+       .port_sched_speed_set   = vsc9959_sched_speed_set,
        .xmit_template_populate = vsc9959_xmit_template_populate,
 };