summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/at803x.c
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2023-12-18 00:27:39 +0100
committerPaolo Abeni <pabeni@redhat.com>2023-12-21 13:52:15 +0100
commitfc9d7264ddc32eaa647d6bfcdc25cdf9f786fde0 (patch)
tree9fac952c34876fe0e56862634d8964558989865f /drivers/net/phy/at803x.c
parentMerge branch 'net-sched-tc-drop-reason' (diff)
downloadlinux-fc9d7264ddc32eaa647d6bfcdc25cdf9f786fde0.tar.xz
linux-fc9d7264ddc32eaa647d6bfcdc25cdf9f786fde0.zip
net: phy: at803x: remove extra space after cast
Remove extra space after cast as reported by checkpatch to keep code clean. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://lore.kernel.org/r/20231217232739.27065-1-ansuelsmth@gmail.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/phy/at803x.c')
-rw-r--r--drivers/net/phy/at803x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c
index a7d28848ee93..423cbe4aa872 100644
--- a/drivers/net/phy/at803x.c
+++ b/drivers/net/phy/at803x.c
@@ -462,7 +462,7 @@ static int at803x_set_wol(struct phy_device *phydev,
if (!ndev)
return -ENODEV;
- mac = (const u8 *) ndev->dev_addr;
+ mac = (const u8 *)ndev->dev_addr;
if (!is_valid_ether_addr(mac))
return -EINVAL;