diff options
author | zhengbin <zhengbin13@huawei.com> | 2019-11-18 18:37:32 +0800 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2019-12-12 09:06:40 -0800 |
commit | 3f2c420596be57e74719bd09333d3b5efe90341d (patch) | |
tree | dd587ae51dfde4a9910db57904e37653268c4f85 /include | |
parent | 426d4447f92c7643a94269270bf71afa23618af1 (diff) | |
download | linux-stable-3f2c420596be57e74719bd09333d3b5efe90341d.tar.gz linux-stable-3f2c420596be57e74719bd09333d3b5efe90341d.tar.bz2 linux-stable-3f2c420596be57e74719bd09333d3b5efe90341d.zip |
bus: ti-sysc: Use PTR_ERR_OR_ZERO() to simplify code
Fixes coccicheck warning:
drivers/bus/ti-sysc.c:506:1-3: WARNING: PTR_ERR_OR_ZERO can be used
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions