Revert "PM/devfreq: governor: Add a private governor_data for governor"
This reverts commitcea018aaf7
which is commit 5fdded8448924e3631d466eea499b11606c43640 upstream. It breaks the Android kernel api and is not needed for Android systems as they do not support this type of functionality. If it is needed to be brought back in the future, it can be done so in a way that does not break the ABI. Bug: 161946584 Fixes:cea018aaf7
("PM/devfreq: governor: Add a private governor_data for governor") Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I0107d52a8f445548f7de462315dbe99ec4ab3d98
此提交包含在:
@@ -740,7 +740,8 @@ static void devfreq_dev_release(struct device *dev)
|
||||
* @dev: the device to add devfreq feature.
|
||||
* @profile: device-specific profile to run devfreq.
|
||||
* @governor_name: name of the policy to choose frequency.
|
||||
* @data: devfreq driver pass to governors, governor should not change it.
|
||||
* @data: private data for the governor. The devfreq framework does not
|
||||
* touch this value.
|
||||
*/
|
||||
struct devfreq *devfreq_add_device(struct device *dev,
|
||||
struct devfreq_dev_profile *profile,
|
||||
@@ -952,7 +953,8 @@ static void devm_devfreq_dev_release(struct device *dev, void *res)
|
||||
* @dev: the device to add devfreq feature.
|
||||
* @profile: device-specific profile to run devfreq.
|
||||
* @governor_name: name of the policy to choose frequency.
|
||||
* @data: devfreq driver pass to governors, governor should not change it.
|
||||
* @data: private data for the governor. The devfreq framework does not
|
||||
* touch this value.
|
||||
*
|
||||
* This function manages automatically the memory of devfreq device using device
|
||||
* resource management and simplify the free operation for memory of devfreq
|
||||
|
新增問題並參考
封鎖使用者