OPP: Add helpers for reading the binding properties
The opp-hz DT property is not mandatory and we may use another property as a key in the OPP table. Add helper functions to simplify the reading and comparing the keys. Signed-off-by: NSaravana Kannan <saravanak@google.com> Signed-off-by: NGeorgi Djakov <georgi.djakov@linaro.org> Reviewed-by: NMatthias Kaehlcke <mka@chromium.org> Reviewed-by: NSibi Sankar <sibis@codeaurora.org> [ Viresh: Removed an unnecessary comment ] Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
Showing
想要评论请 注册 或 登录