Detailed description for this pull request:

1. Code clean-up
 - Correct the spelling of comment  in devfreq core
 - Replace devfreq->dev.parent with dev in devfreq core
 - Remove unneeded simicolon in rk3399_dmc.c
 
 Replace devfreq->dev.parent as dev in devfreq_add_device
 -----BEGIN PGP SIGNATURE-----
 
 iQJKBAABCgA0FiEEsSpuqBtbWtRe4rLGnM3fLN7rz1MFAmAiX0UWHGN3MDAuY2hv
 aUBzYW1zdW5nLmNvbQAKCRCczd8s3uvPU91kEADQJ7gW54uabEMTVssmu8fEtLCk
 UV3OExm76WgsViJEEesZDjqD6LYXyeGYU7xrj3TrOysmoF72JzYhXRa/j3cdCsb0
 hZ4xLyH/qEjHwybjgNssG2IAo7wFNbbo/mEPDMyoUu+bCWg7PaItDKT7PFXWyT2x
 e58NMefpb+tJTr7MzLk1KpdOGemQwY25ZU53QipXr7f7cilKIDNrDlmCFG+EK6ap
 vPFK6quaTTon/8m97aCtTZDhrUERhvjVbRBn/dIZhRhPSM454vzQYIO7kzNy/kd1
 5FGVg+zxmtm3GpSSBubandeMO+OfwqkQtYXWWG5f53BBpDxpUjXKEmVfW+O15KE4
 hKM8ZNbkTGV4fG25ZFDWWRHx7s8SS8fo6/5vWjQYZ09OT/v2fP1TrBDkXoOaTwW+
 k7s9aypZr76mMv+qdoaLH/RdpmZ3dB3EZtFixFoBADYaBlktcmZbgJLdqdnXQ1IH
 /mvEapBZpKKZPcV0F1iU4KPdnaajm3sdg/kNEkzJcIOfrhp9PorxuW+SQ2yVNF8l
 EMcBConffUao9flkmhvEr5EfPd57UpLeKpg0GIAdVec56oR4euJUAlsGb4k9/vHk
 clQ2n6vYrkvlOQPjhiE1Zc9I8X/HbfNWbXvlgSfWBVW3JxlDXpCASw2Ms/9LS917
 NUua2U1stnF0Ghux6A==
 =gSeQ
 -----END PGP SIGNATURE-----

Merge tag 'devfreq-next-for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux

Pull devfreq changes for v5.12 from Chanwoo Choi:

"- Correct the spelling of comment in devfreq core
 - Replace devfreq->dev.parent with dev in devfreq core
 - Remove unneeded simicolon in rk3399_dmc.c"

* tag 'devfreq-next-for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/linux:
  PM / devfreq: rk3399_dmc: Remove unneeded semicolon
  PM / devfreq: Replace devfreq->dev.parent as dev in devfreq_add_device
  PM / devfreq: Correct spelling in a comment
This commit is contained in:
Rafael J. Wysocki 2021-02-09 15:38:04 +01:00
commit 91a4b9e619
3 changed files with 4 additions and 4 deletions

View File

@ -893,13 +893,13 @@ struct devfreq *devfreq_add_device(struct device *dev,
goto err_devfreq;
devfreq->nb_min.notifier_call = qos_min_notifier_call;
err = dev_pm_qos_add_notifier(devfreq->dev.parent, &devfreq->nb_min,
err = dev_pm_qos_add_notifier(dev, &devfreq->nb_min,
DEV_PM_QOS_MIN_FREQUENCY);
if (err)
goto err_devfreq;
devfreq->nb_max.notifier_call = qos_max_notifier_call;
err = dev_pm_qos_add_notifier(devfreq->dev.parent, &devfreq->nb_max,
err = dev_pm_qos_add_notifier(dev, &devfreq->nb_max,
DEV_PM_QOS_MAX_FREQUENCY);
if (err)
goto err_devfreq;

View File

@ -40,7 +40,7 @@
/*
* Definition of governor attribute flags except for common sysfs attributes
* - DEVFREQ_GOV_ATTR_POLLING_INTERVAL
* : Indicate polling_interal sysfs attribute
* : Indicate polling_interval sysfs attribute
* - DEVFREQ_GOV_ATTR_TIMER
* : Indicate timer sysfs attribute
*/

View File

@ -400,7 +400,7 @@ static int rk3399_dmcfreq_probe(struct platform_device *pdev)
default:
ret = -EINVAL;
goto err_edev;
};
}
no_pmu:
arm_smccc_smc(ROCKCHIP_SIP_DRAM_FREQ, 0, 0,