Skip to content

Commit

Permalink
drivers: net: smc911x: clean up inconsistent indenting
Browse files Browse the repository at this point in the history
There are various function arguments that are not indented correctly,
clean these up with correct indentation.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Colin Ian King authored and David S. Miller committed Sep 3, 2021
1 parent 7432388 commit 73fc981
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions drivers/net/ethernet/smsc/smc911x.c
Original file line number Diff line number Diff line change
Expand Up @@ -1550,7 +1550,7 @@ static int smc911x_ethtool_getregslen(struct net_device *dev)
}

static void smc911x_ethtool_getregs(struct net_device *dev,
struct ethtool_regs* regs, void *buf)
struct ethtool_regs *regs, void *buf)
{
struct smc911x_local *lp = netdev_priv(dev);
unsigned long flags;
Expand Down Expand Up @@ -1600,7 +1600,7 @@ static int smc911x_ethtool_wait_eeprom_ready(struct net_device *dev)
}

static inline int smc911x_ethtool_write_eeprom_cmd(struct net_device *dev,
int cmd, int addr)
int cmd, int addr)
{
struct smc911x_local *lp = netdev_priv(dev);
int ret;
Expand All @@ -1614,7 +1614,7 @@ static inline int smc911x_ethtool_write_eeprom_cmd(struct net_device *dev,
}

static inline int smc911x_ethtool_read_eeprom_byte(struct net_device *dev,
u8 *data)
u8 *data)
{
struct smc911x_local *lp = netdev_priv(dev);
int ret;
Expand All @@ -1626,7 +1626,7 @@ static inline int smc911x_ethtool_read_eeprom_byte(struct net_device *dev,
}

static inline int smc911x_ethtool_write_eeprom_byte(struct net_device *dev,
u8 data)
u8 data)
{
struct smc911x_local *lp = netdev_priv(dev);
int ret;
Expand All @@ -1638,7 +1638,7 @@ static inline int smc911x_ethtool_write_eeprom_byte(struct net_device *dev,
}

static int smc911x_ethtool_geteeprom(struct net_device *dev,
struct ethtool_eeprom *eeprom, u8 *data)
struct ethtool_eeprom *eeprom, u8 *data)
{
u8 eebuf[SMC911X_EEPROM_LEN];
int i, ret;
Expand All @@ -1654,7 +1654,7 @@ static int smc911x_ethtool_geteeprom(struct net_device *dev,
}

static int smc911x_ethtool_seteeprom(struct net_device *dev,
struct ethtool_eeprom *eeprom, u8 *data)
struct ethtool_eeprom *eeprom, u8 *data)
{
int i, ret;

Expand Down

0 comments on commit 73fc981

Please sign in to comment.