Skip to content
Commit 4af5924c authored by Dong Aisheng's avatar Dong Aisheng Committed by Mark Brown
Browse files

regulator: anatop: make sure regulator name is properly defined



For anatop regulator we must have a name accordingly. Make sure the name
is properly checked before using it to avoid a possible kernel NULL
point crash.

Signed-off-by: default avatarDong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 9bf94454
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