diff options
author | Pan Bian <bianpan2016@163.com> | 2017-08-14 20:29:13 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-08-15 06:23:47 +0300 |
commit | 6ecd36d732886ecb07768432212efce9cfb6ac2f (patch) | |
tree | 9515ec2a4d8b5e5303e83e760530086eb457d6ac /drivers/vme | |
parent | e48060ce2c7f73e424272bd6f5d9f996f1853064 (diff) | |
download | linux-6ecd36d732886ecb07768432212efce9cfb6ac2f.tar.xz |
Input: mxs-lradc - use correct error check
Function devm_ioremap() will return a NULL pointer on failure. However,
in function mxs_lradc_ts_probe(), its return value is checked with
IS_ERR(), which cannot detect the exceptional case.
Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/vme')
0 files changed, 0 insertions, 0 deletions