include: pm_opp: define new function devm_pm_opp_add()
authorLukasz Luba <l.luba@partner.samsung.com>
Wed, 23 Jan 2019 18:14:41 +0000 (19:14 +0100)
committerJunghoon Kim <jhoon20.kim@samsung.com>
Thu, 14 Feb 2019 05:58:21 +0000 (14:58 +0900)
commit15cc9cd1513f1707e957593cf11eb4ba2f2af11f
tree4f7fbde84db09d601c1278b0cb25ee82af6e6f84
parent288b599a7e6c009c428cf0bd8c579bd801076ca1
include: pm_opp: define new function devm_pm_opp_add()

Add new function declaration devm_pm_opp_add() in OPP PM subsystem.
It provides safe mechanism for registering OPPs in case of deffer probe.
The patch adds also inline empty functions in case of lack the config.
There is also declaration for devm_pm_opp_remove functions.

Change-Id: I03f14038b03f51fab2674f1cce5df78af37105c2
Signed-off-by: Lukasz Luba <l.luba@partner.samsung.com>
include/linux/pm_opp.h