diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2011-08-25 15:34:01 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-08-25 15:34:01 +0200 |
commit | ef27bed1870dbd5fd363ff5ec51eebd5a695e277 (patch) | |
tree | ef563bb07f259386fbe2477ec9a01e7ead011bcc /arch | |
parent | PM: Introduce struct pm_subsys_data (diff) | |
download | linux-ef27bed1870dbd5fd363ff5ec51eebd5a695e277.tar.xz linux-ef27bed1870dbd5fd363ff5ec51eebd5a695e277.zip |
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 <rjw@sisk.pl>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions