commit | e5acb1991b5884d86f113d7841024234c465c501 | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Wed Nov 02 16:47:08 2022 +0530 |
committer | Viresh Kumar <viresh.kumar@linaro.org> | Fri Nov 04 10:59:05 2022 +0530 |
tree | 1de4a43938e6ecc88a1c9915c6e3fe0e3cf2c2c1 | |
parent | 71b09429e82e5cd402bedc763c25b5962fdc9d71 [diff] |
OPP: Simplify opp_parse_supplies() by restructuring it opp_parse_supplies() has grown into too big of a routine (~190 lines) and it is not straight-forward to understand it anymore. Break it into smaller routines and reduce code redundancy a bit by using the same code to parse properties. This shouldn't result in any logical changes. Tested-by: James Calligeros <jcalligeros99@gmail.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>