regulator: Appease smatch in regulator_register()
We don't support missing configs at all so segfaulting isn't that bad
but since we've got checks in the code move the dereference after them.
Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
Loading
Please register or sign in to comment