gpio: zynq: Check return value of pm_runtime_get_sync
stable inclusion from linux-4.19.198 commit c7a13cbc42793ae74a2dff3fd7f543425830258f -------------------------------- [ Upstream commit a51b2fb9 ] Return value of "pm_runtime_get_sync" API was neither captured nor checked. Fixed it by capturing the return value and then checking for any warning. Addresses-Coverity: "check_return" Signed-off-by: NSrinivas Neeli <srinivas.neeli@xilinx.com> Signed-off-by: NBartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录