[PATCH v4 2/3] drivercore: Bind/unbind power domain on probe/remove

2014-05-08 Thread Tomasz Figa
On a number of platforms, devices are part of controllable power domains, which need to be enabled before such devices can be accessed and may be powered down when the device is idle to save some power. This means that on systems that support power domain control using generic power domains subsyst

[PATCH v4 2/3] drivercore: Bind/unbind power domain on probe/remove

2014-05-08 Thread Tomasz Figa
On a number of platforms, devices are part of controllable power domains, which need to be enabled before such devices can be accessed and may be powered down when the device is idle to save some power. This means that on systems that support power domain control using generic power domains subsyst