]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
PM / OPP: Take reference of the OPP table while adding/removing OPPs
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 23 Jan 2017 04:41:44 +0000 (10:11 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 30 Jan 2017 08:22:21 +0000 (09:22 +0100)
commit31641cda53dd71c0447fca5e6d42e0e3e8391733
treef63cc204f1fa1097bb33de12cdec7267c66909b1
parentfa30184d192ec78d443cf6d3abc37d9eb3b9253e
PM / OPP: Take reference of the OPP table while adding/removing OPPs

Take reference of the OPP table while adding and removing OPPs, that
helps us remove special checks in _remove_opp_table().

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/opp/core.c