From: Rafael J. Wysocki Date: Thu, 25 Aug 2011 13:34:12 +0000 (+0200) Subject: PM / Domains: Use power.sybsys_data to reduce overhead X-Git-Tag: v3.2-rc1~178^2~23^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4605ab653c1f9d7cc2dda8033de215c9cee325f4;p=pandora-kernel.git PM / Domains: Use power.sybsys_data to reduce overhead Currently pm_genpd_runtime_resume() has to walk the list of devices from the device's PM domain to find the corresponding device list object containing the need_restore field to check if the driver's .runtime_resume() callback should be executed for the device. This is suboptimal and can be simplified by using power.sybsys_data to store device information used by the generic PM domains code. Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed