]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: dwc2: Fix return error value in dwc2_driver_probe()
authorRashika Kheria <rashika.kheria@gmail.com>
Sat, 26 Oct 2013 17:42:19 +0000 (23:12 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Oct 2013 21:54:50 +0000 (14:54 -0700)
commite12dc30c253b58e5de5ee2b626847eb326481194
tree7fa52eb1eada422431d92142dc2e7a35a9e2975b
parenta75349d4b634613f95bef737c5b355c60bfd5094
Staging: dwc2: Fix return error value in dwc2_driver_probe()

This patch fixes the following smatch warning in platform.c-
drivers/staging/dwc2/platform.c:109 dwc2_driver_probe() info: why not propagate 'irq' from platform_get_irq() instead of (-22)?

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dwc2/platform.c