• Rafael J. Wysocki's avatar
    PM: Reference counting of power.subsys_data · ef27bed1
    Rafael J. Wysocki authored
    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: default avatarRafael J. Wysocki <rjw@sisk.pl>
    ef27bed1
clock_ops.c 11.1 KB