diff options
author | Bartlomiej Zolnierkiewicz <[email protected]> | 2014-03-18 10:58:33 +0100 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2014-03-26 10:31:34 +0100 |
commit | 138d876e30353da34495e463d20c9bd7c0fd4ba0 (patch) | |
tree | da3b60aef7e3a613a641751f52be3948aef29a3d /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 523dcce72c72e829b9d391f8020277038c6aab82 (diff) |
gpio: iop: fix devm_ioremap_resource() return value checking
devm_ioremap_resource() returns a pointer to the remapped memory or
an ERR_PTR() encoded error code on failure. Fix the check inside
iop3xx_gpio_probe() accordingly.
Cc: Lennert Buytenhek <[email protected]>
Cc: Mikael Pettersson <[email protected]>
Cc: Aaro Koskinen <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Acked-by: Alexandre Courbot <[email protected]>
Acked-by: Dan Williams <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions