]> git.karo-electronics.de Git - karo-tx-linux.git/commit
spi: core: Convert to dev_pm_domain_attach|detach()
authorUlf Hansson <ulf.hansson@linaro.org>
Fri, 19 Sep 2014 18:27:41 +0000 (20:27 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 22 Sep 2014 13:57:40 +0000 (15:57 +0200)
commit676e7c257a339b44b8a613be145b22b85cf2ffc4
tree16ed7cedadbe923d7311a26808c903b3ab3f3540
parent397a0253527a578fa036d3438ad4909c65d63166
spi: core: Convert to dev_pm_domain_attach|detach()

Previously only the ACPI PM domain was supported by the spi bus.

Let's convert to the common attach/detach functions for PM domains,
which currently means we are extending the support to include the
generic PM domain as well.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Kevin Hilman <khilman@linaro.org>
Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/spi/spi.c