diff options
author | Srinivas Neeli <srinivas.neeli@xilinx.com> | 2021-04-09 16:08:05 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2021-06-14 20:20:38 +0200 |
commit | a51b2fb94b04ab71e53a71b9fad03fa826941254 (patch) | |
tree | 4f54b7347051278360e098f567600f09a8485d32 /drivers/idle | |
parent | gpio: zynq: use module_platform_driver to simplify the code (diff) | |
download | linux-a51b2fb94b04ab71e53a71b9fad03fa826941254.tar.xz linux-a51b2fb94b04ab71e53a71b9fad03fa826941254.zip |
gpio: zynq: Check return value of pm_runtime_get_sync
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: Srinivas Neeli <srinivas.neeli@xilinx.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'drivers/idle')
0 files changed, 0 insertions, 0 deletions