usb: host: xhci-tegra: Use devm_platform_get_and_ioremap_resource()
authorYang Yingliang <yangyingliang@huawei.com>
Wed, 16 Jun 2021 04:45:19 +0000 (12:45 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jun 2021 13:26:40 +0000 (15:26 +0200)
commite56621580755d40551f3fae5766907ae1c24d1fc
tree446cb13748a49a551a4aea92d101c18b89ec8f08
parentec03554f980f917e0491aa8532aabedc9c080639
usb: host: xhci-tegra: Use devm_platform_get_and_ioremap_resource()

Use devm_platform_get_and_ioremap_resource() to simplify
code.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20210616044519.2183826-3-yangyingliang@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-tegra.c