• Russell King's avatar
    [ARM] Update SA1111 suspend/resume model. · f2216ade
    Russell King authored
    The device_driver suspend/resume methods are no longer used.  Instead,
    the bus_type contains the suspend/resume methods.  Fix the SA1111 bus
    support for this change.
    
    We place the probe/remove/suspend/resume methods inside struct
    sa1111_driver and call them from the SA1111 bus driver (ie, how
    Pat wants this stuff done.)
    
    We leave the parent bus device suspend/resume methods in the device
    driver until power management for platform devices works again.
    However, we adjust these methods so they run only once, like the
    other PM methods.
    f2216ade
sa1111_generic.c 5.19 KB