PM / Domains: Constify genpd pointer
authorKrzysztof Kozlowski <krzk@kernel.org>
Mon, 12 Jun 2017 15:17:41 +0000 (17:17 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 27 Jun 2017 22:24:21 +0000 (00:24 +0200)
commitd8600c8b0cd11d2249e14bf8b2eccbf4fa0db770
treef0e4eda63b36ead60fed561dee1faa1b62bcec64
parentb4883ca449473e8879a062c1f55f9d062c168ae5
PM / Domains: Constify genpd pointer

Mark pointer to struct generic_pm_domain const (either passed in
argument or used localy in a function), whenever it is not modifed by
the function itself.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/domain.c