Searched hist:"5 f7202d827b8d39146b27c2f813849b1ad437beb" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/regulator/ |
H A D | rt5190a-regulator.c | diff 5f7202d827b8d39146b27c2f813849b1ad437beb Thu Jun 02 00:44:06 CDT 2022 ChiYuan Huang <cy_huang@richtek.com> regulator: rt5190a: check if init_data is NULL, bypass rt5190a_of_parse_cb
If the node for the match name cannot be found, 'of_regulator_match' will returns init_data as NULL for this regulator.
Add the check for the init_data. If it's NULL, make 'rt5190a_of_parse_cb' function directly return.
Signed-off-by: ChiYuan Huang <cy_huang@richtek.com> Link: https://lore.kernel.org/r/1654148646-12182-1-git-send-email-u0084500@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
|