ALSA: aoa-soundbus: Switch to dev_pm_ops
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 5 Aug 2015 14:19:31 +0000 (16:19 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 5 Aug 2015 14:47:47 +0000 (16:47 +0200)
commitf6af5df0c7d7b7d0a80a2f4ac4171912312b55d4
tree738276be992406d9aec35d1b17a35655060ebcd8
parent9f502ff55321a5270c3dfbb76ac3774e6b5d8097
ALSA: aoa-soundbus: Switch to dev_pm_ops

Update the aoa-soundbus framework to use dev_pm_ops rather than the
deprecated legacy suspend and resume callbacks.

Since there isn't anything special to do at the bus level the bus driver
does not have to implement any callbacks. The device driver core will
automatically pick up and execute the device's PM ops.

As there is only a single aoa-soundbus driver implementing suspend and
resume, update both the core and driver at the same time to avoid
unnecessary code churn.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/aoa/fabrics/layout.c
sound/aoa/soundbus/core.c
sound/aoa/soundbus/soundbus.h