]> Git Repo - linux.git/commit
net: broadcom: convert to devm_platform_ioremap_resource_byname()
authorDejin Zheng <[email protected]>
Mon, 20 Apr 2020 15:06:41 +0000 (23:06 +0800)
committerDavid S. Miller <[email protected]>
Tue, 21 Apr 2020 22:53:54 +0000 (15:53 -0700)
commitd7a5502b0bb8bde54973a2ee73e7bd72e6cb195c
tree5a1769090fff6812649535eab6ce265b8cf8b6ac
parent4dee15b4fd0d61ec6bbd179238191e959d34cf7a
net: broadcom: convert to devm_platform_ioremap_resource_byname()

Use the function devm_platform_ioremap_resource_byname() to simplify
source code which calls the functions platform_get_resource_byname()
and devm_ioremap_resource(). Remove also a few error messages which
became unnecessary with this software refactoring.

Suggested-by: Markus Elfring <[email protected]>
Signed-off-by: Dejin Zheng <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/broadcom/bgmac-platform.c
This page took 0.066317 seconds and 4 git commands to generate.