]> git.baikalelectronics.ru Git - kernel.git/commit
usb: phy: keystone: remove redundant return value check of platform_get_resource()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 24 Dec 2013 11:37:27 +0000 (19:37 +0800)
committerFelipe Balbi <balbi@ti.com>
Thu, 26 Dec 2013 16:19:01 +0000 (10:19 -0600)
commit6643c85ab9ad7a7abc3b17b7cf1f4b9567d0625a
treef682683ef0c16fb739bef30797df34cbc8a6644b
parent46d3565458bace7cf919ecbba35eb44c5e287746
usb: phy: keystone: remove redundant return value check of platform_get_resource()

Remove unneeded error handling on the result of a call
to platform_get_resource() when the value is passed to
devm_ioremap_resource().

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-keystone.c