PM / Domains: Rename cpu_data to cpuidle_data
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 2 Oct 2014 19:12:34 +0000 (21:12 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 3 Oct 2014 13:43:14 +0000 (15:43 +0200)
commitf39cb1797ec1094b196d3dab44a7ca6060813d38
treee09fbb2c426018fa3da64a1506901a74c67f46fe
parentf48c767ce8951e30eb716b8ef69142d21aacbd1d
PM / Domains: Rename cpu_data to cpuidle_data

The "cpu_data" are defined for some archs and thus conflicting with the
"cpu_data" member in the struct gpd_cpu_data. This causes a compiler
error for those archs.

Let's fix it by rename the member to cpuidle_data. In this context it
also seems appropriate to rename the struct to gpd_cpuidle_data to
better reflect its use.

Fixes: f48c767ce895 (PM / Domains: Move dev_pm_domain_attach|detach() to pm_domain.h)
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/domain.c
include/linux/pm_domain.h