From: Rafael J. Wysocki Date: Thu, 25 Aug 2011 13:34:01 +0000 (+0200) Subject: PM: Reference counting of power.subsys_data X-Git-Tag: v3.2-rc1~178^2~23^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef27bed1870dbd5fd363ff5ec51eebd5a695e277;p=pandora-kernel.git PM: Reference counting of power.subsys_data Since the power.subsys_data device field will be used by multiple filesystems, introduce a reference counting mechanism for it to avoid freeing it prematurely or changing its value at a wrong time. Make the PM clocks management code that currently is the only user of power.subsys_data use the new reference counting. Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed