diff options
author | Wei Yongjun <[email protected]> | 2013-10-31 15:51:38 +0800 |
---|---|---|
committer | Ralf Baechle <[email protected]> | 2013-10-31 12:38:34 +0100 |
commit | cd5d58108e41b0edecc1e7a6468cbe06ce03be3f (patch) | |
tree | 21988da79ab768dc1559be63820cb18e41d19f35 /kernel/gcov/gcc_3_4.c | |
parent | 13b7ea6377fb23f02784a38e894f8fad49816376 (diff) |
MIPS: ralink: fix return value check in rt_timer_probe()
In case of error, the function devm_request_and_ioremap() returns NULL
pointer not ERR_PTR(). Fix it by using devm_ioremap_resource() instead
of devm_request_and_ioremap().
Signed-off-by: Wei Yongjun <[email protected]>
Acked-by: John Crispin <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/6098/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'kernel/gcov/gcc_3_4.c')
0 files changed, 0 insertions, 0 deletions