diff options
| author | Algapally Santosh Sagar <[email protected]> | 2023-01-19 22:36:15 -0700 |
|---|---|---|
| committer | Michal Simek <[email protected]> | 2023-01-27 08:42:47 +0100 |
| commit | 508e1aa58c8f02a6b1a1013e3ff79d3e76015104 (patch) | |
| tree | ffd3855edd30a10984bdb2bb60c921a11e3f9d78 /scripts/const_structs.checkpatch | |
| parent | fb737f1ed86c87a64e6626975cf51dd70a405cd2 (diff) | |
gpio: zynqmp: Handle error from get_gpio_modepin
There is a unused variable ret, due to which we are getting sparse warning
as below.
warning: variable 'ret' set but not used [-Wunused-but-set-variable].
Return ret incase of error.
Signed-off-by: Algapally Santosh Sagar <[email protected]>
Signed-off-by: Ashok Reddy Soma <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michal Simek <[email protected]>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
