]> git.baikalelectronics.ru Git - kernel.git/commit
usb: phy: qcom: Use devm_ioremap_resource()
authorFabio Estevam <fabio.estevam@nxp.com>
Sun, 30 Jul 2017 00:58:56 +0000 (21:58 -0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 15 Aug 2017 09:46:02 +0000 (12:46 +0300)
commitf693b594733e25b261394ad6da8fee7caf628b81
tree2102a1166153db712db2d37ead1343e10acb8bf4
parent8e7336926356f1b4a62c99af7a93e8fa0ff4a07d
usb: phy: qcom: Use devm_ioremap_resource()

Using devm_ioremap_resource() can make the code simpler, as it
already does the resource NULL check.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/phy/phy-qcom-8x16-usb.c