summaryrefslogtreecommitdiff
path: root/Kbuild
diff options
context:
space:
mode:
authorChen-Yu Tsai <wenst@chromium.org>2024-09-04 17:00:05 +0800
committerMark Brown <broonie@kernel.org>2024-09-04 13:15:21 +0100
commitb8c3255457147162cd713a319a8e2274335449b9 (patch)
tree86747808747995db09288a0c44cb54b37b77c5c9 /Kbuild
parent98ce82a52886edd5197e903cb2b56f21bf3b0781 (diff)
downloadlwn-b8c3255457147162cd713a319a8e2274335449b9.tar.gz
lwn-b8c3255457147162cd713a319a8e2274335449b9.zip
regulator: Move OF-specific regulator lookup code to of_regulator.c
There's still a bit of OF-specific code in the regulator device lookup function. Move those bits of code over to of_regulator.c, and create a new function of_regulator_dev_lookup() to encapsulate the code moved out of regulator_dev_lookup(). Also mark of_find_regulator_by_node() as static, since there are no other users in other compile units. There are no functional changes. A line alignment was also fixed. Signed-off-by: Chen-Yu Tsai <wenst@chromium.org> Link: https://patch.msgid.link/20240904090016.2841572-4-wenst@chromium.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions