diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2022-07-04 16:10:39 +0530 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2022-07-08 11:26:44 +0530 |
commit | 87686cc845c3be7dea777f1dbf2de0767007cda8 (patch) | |
tree | c1a21bfe9ebad676f452baf132a586041dda4273 /arch/mips | |
parent | 0a43452bb6b1f499b695b123e9fedf4b1a9bbf64 (diff) | |
download | linux-stable-87686cc845c3be7dea777f1dbf2de0767007cda8.tar.gz linux-stable-87686cc845c3be7dea777f1dbf2de0767007cda8.tar.bz2 linux-stable-87686cc845c3be7dea777f1dbf2de0767007cda8.zip |
OPP: Make dev_pm_opp_set_regulators() accept NULL terminated list
Make dev_pm_opp_set_regulators() accept a NULL terminated list of names
instead of making the callers keep the two parameters in sync, which
creates an opportunity for bugs to get in.
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Steven Price <steven.price@arm.com> # panfrost
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'arch/mips')
0 files changed, 0 insertions, 0 deletions