diff options
| author | Wei Yongjun <[email protected]> | 2014-09-12 07:12:14 +0800 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2014-09-24 10:04:28 +0200 |
| commit | 4f51b91335a63b2672a0f21fd13a684c8e35c4e8 (patch) | |
| tree | 59f808456d03bc48d484022aa0df61380d4a45bc /tools/perf/scripts/python | |
| parent | 43a8785aeedc3eb1ffce95d46a8e7ca3e0d591d8 (diff) | |
gpio: Fix return value check in xgene_gpio_probe()
In case of error, the function devm_ioremap_nocache() returns NULL
pointer not ERR_PTR(). The IS_ERR() test in the return value check
should be replaced with NULL test.
Signed-off-by: Wei Yongjun <[email protected]>
Reviewed-by: Alexandre Courbot <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions