net: dsa: lan9303: Adjust indenting
authorEgil Hjelmeland <privat@egil-hjelmeland.no>
Mon, 6 Nov 2017 11:42:04 +0000 (12:42 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Nov 2017 04:29:06 +0000 (13:29 +0900)
Remove scripts/checkpatch.pl CHECKs by adjusting indenting.

Signed-off-by: Egil Hjelmeland <privat@egil-hjelmeland.no>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/lan9303_i2c.c
drivers/net/dsa/lan9303_mdio.c
net/dsa/tag_lan9303.c

index 24ec20f7f444c7dc9b39bac434143a0e86dd0a7a..909a7e86424622ec36d080b6f05e29cc3887d104 100644 (file)
@@ -50,7 +50,7 @@ static int lan9303_i2c_probe(struct i2c_client *client,
                return -ENOMEM;
 
        sw_dev->chip.regmap = devm_regmap_init_i2c(client,
-                                               &lan9303_i2c_regmap_config);
+                                                  &lan9303_i2c_regmap_config);
        if (IS_ERR(sw_dev->chip.regmap)) {
                ret = PTR_ERR(sw_dev->chip.regmap);
                dev_err(&client->dev, "Failed to allocate register map: %d\n",
index 0bc56b9900f94e95b6618dd9a459507b273b269d..cc9c2ea1c4fe0209e1423ae35c960a1712fe9099 100644 (file)
@@ -116,7 +116,7 @@ static int lan9303_mdio_probe(struct mdio_device *mdiodev)
                return -ENOMEM;
 
        sw_dev->chip.regmap = devm_regmap_init(&mdiodev->dev, NULL, sw_dev,
-                                               &lan9303_mdio_regmap_config);
+                                              &lan9303_mdio_regmap_config);
        if (IS_ERR(sw_dev->chip.regmap)) {
                ret = PTR_ERR(sw_dev->chip.regmap);
                dev_err(&mdiodev->dev, "regmap init failed: %d\n", ret);
index e526c8967b98b0e29784d0687e8ba715dd916033..5ba01fc3c6ba557953f05c5ceaf0ed9fbba1bd35 100644 (file)
@@ -88,7 +88,7 @@ static struct sk_buff *lan9303_xmit(struct sk_buff *skb, struct net_device *dev)
 }
 
 static struct sk_buff *lan9303_rcv(struct sk_buff *skb, struct net_device *dev,
-                       struct packet_type *pt)
+                                  struct packet_type *pt)
 {
        u16 *lan9303_tag;
        unsigned int source_port;