PM / OPP: Create _remove_device_opp() for freeing dev_opp
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 29 Jul 2015 10:52:59 +0000 (16:22 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 7 Aug 2015 01:04:22 +0000 (03:04 +0200)
commit3bac42caec612a1b82db7944570353cddca6a013
tree3bddc9337e935dfb85af04b2914cdd4c7005a218
parent737002b5de3d15b3012feea17f782a628b24699b
PM / OPP: Create _remove_device_opp() for freeing dev_opp

This will be used from multiple places later. Lets create a separate
routine for that.

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