diff options
author | ChiYuan Huang <[email protected]> | 2022-06-02 13:44:06 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-06-06 12:39:10 +0100 |
commit | 5f7202d827b8d39146b27c2f813849b1ad437beb (patch) | |
tree | a7daed489bef674d5fd92140320961ff8f74b5a7 /drivers/usb/cdns3/cdns3-debug.h | |
parent | fcdaf74a0abb6a4410b69dd80b525562457daafd (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions