diff options
author | 2020-03-24 00:06:12 +0800 | |
---|---|---|
committer | 2020-03-24 12:09:40 +0100 | |
commit | fd78901c297ee1a3214f617d4afb83a467aa7ada (patch) | |
tree | 314de543eef22e07b310ce927d0529295c0cc98c /drivers/usb/cdns3/cdns3-ti.c | |
parent | usb: dwc2: convert to devm_platform_get_and_ioremap_resource (diff) | |
download | linux-dev-fd78901c297ee1a3214f617d4afb83a467aa7ada.tar.xz linux-dev-fd78901c297ee1a3214f617d4afb83a467aa7ada.zip |
driver core: platform: Reimplement devm_platform_ioremap_resource
Reimplement devm_platform_ioremap_resource() by calling
devm_platform_ioremap_and_get_resource() with res = NULL to
simplify the code.
Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Dejin Zheng <zhengdejin5@gmail.com>
Link: https://lore.kernel.org/r/20200323160612.17277-6-zhengdejin5@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions