]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: bgmac: Remove unnecessary 'return' from platform_bgmac_idm_write
authorAbhishek Shah <abhishek.shah@broadcom.com>
Thu, 13 Jul 2017 19:04:07 +0000 (00:34 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Jul 2017 21:28:27 +0000 (14:28 -0700)
commit83a5c5af26ef8005caebd50ce62383a02c5bae82
tree82a1c18db8c4ba84aa98c0c388d1a4bf2c991b5c
parent10b3bf54406bb7f4e78da9bb2a485c5c986678ad
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: Abhishek Shah <abhishek.shah@broadcom.com>
Reviewed-by: Oza Oza <oza.oza@broadcom.com>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>
Reviewed-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bgmac-platform.c