Skip to content
Commit 32c78de8 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

regulator: Fix checking return value of create_regulator



create_regulator() returns NULL on fail.

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent bcda4321
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment