diff options
author | Vasyl Gomonovych | 2017-11-28 16:20:43 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2017-12-07 18:45:31 +0100 |
commit | eecf4f9dd940fc90b38693ec6cde9badf0bea56a (patch) | |
tree | 15265c0fafff4e7a316d4af42e2db38f8439544d /drivers/misc/mic/bus | |
parent | baa8b941cb52cd85df8b86b4cf8be5606606f5d9 (diff) |
misc: vexpress: Use PTR_ERR_OR_ZERO()
Fix ptr_ret.cocci warnings:
drivers/misc/vexpress-syscfg.c:273:1-3: WARNING: PTR_ERR_OR_ZERO can be used
Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
Generated by: scripts/coccinelle/api/ptr_ret.cocci
Signed-off-by: Vasyl Gomonovych <gomonovych@gmail.com>
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mic/bus')
0 files changed, 0 insertions, 0 deletions