Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
regulator: rt4801: Fix NULL pointer dereference if priv->enable_gpios…
… is NULL devm_gpiod_get_array_optional may return NULL if no GPIO was assigned. Signed-off-by: Axel Lin <axel.lin@ingics.com> Link: https://lore.kernel.org/r/20210603094944.1114156-1-axel.lin@ingics.com Signed-off-by: Mark Brown <broonie@kernel.org>
- Loading branch information