Skip to content
Commit 7c0b2380 authored by Dan Carpenter's avatar Dan Carpenter Committed by Lee Jones
Browse files

mfd: ab8500-debugfs: Move dereference after check for NULL



We dereference "desc" before check if it is NULL. I've shifted it
around so we check first before dereferencing.

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent d6e0a2dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment