Commit 83a5c5af authored by Abhishek Shah's avatar Abhishek Shah Committed by David S. Miller
Browse files

net: ethernet: bgmac: Remove unnecessary 'return' from platform_bgmac_idm_write

Return type for idm register write callback should be void as 'writel'
API is used for write operation. However, there no need to have 'return'
in this function.
Signed-off-by: default avatarAbhishek Shah <>
Reviewed-by: default avatarOza Oza <>
Reviewed-by: default avatarRay Jui <>
Reviewed-by: default avatarScott Branden <>
Signed-off-by: default avatarDavid S. Miller <>
parent 10b3bf54
......@@ -50,7 +50,7 @@ static u32 platform_bgmac_idm_read(struct bgmac *bgmac, u16 offset)
static void platform_bgmac_idm_write(struct bgmac *bgmac, u16 offset, u32 value)
return writel(value, bgmac->plat.idm_base + offset);
writel(value, bgmac->plat.idm_base + offset);
static bool platform_bgmac_clk_enabled(struct bgmac *bgmac)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment