commit | 7352e72a513fd2757b2fda695a349d86faa4c94e | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Aug 08 13:33:35 2019 +0300 |
committer | Mark Brown <broonie@kernel.org> | Thu Aug 08 20:41:09 2019 +0100 |
tree | e3222620abf2b33cb4244913ea4c58bf67a653ef | |
parent | 811ba489fa524ec634933cdf83aaf6c007a4c004 [diff] |
regulator: slg51000: Fix a couple NULL vs IS_ERR() checks The devm_gpiod_get_from_of_node() function never returns NULL, it returns error pointers on error. Fixes: a867bde3dd03 ("regulator: slg51000: add slg51000 regulator driver") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/20190808103335.GD30506@mwanda Signed-off-by: Mark Brown <broonie@kernel.org>