commit | b4883ca449473e8879a062c1f55f9d062c168ae5 | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Tue May 16 10:52:43 2017 +0530 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Thu Jun 22 03:13:08 2017 +0200 |
tree | 0855a95f156621934d53f25d28e42e3e00694e02 | |
parent | 5e68ebd0ac4842977c127160f9ecf1a0099f502f [diff] |
PM / Domains: pdd->dev can't be NULL in genpd_dev_pm_qos_notifier() The pm_domain_data (pdd) pointer is set from genpd_alloc_dev_data() and pdd->dev is guaranteed to be valid. There is no need to check pdd and pdd->dev in rest of the code as pdd->dev will always be valid for a non NULL pdd pointer. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>