Skip to content
Commit 3f2c4205 authored by zhengbin's avatar zhengbin Committed by Tony Lindgren
Browse files

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: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarzhengbin <zhengbin13@huawei.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 426d4447
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment