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

Previously only the ACPI PM domain was supported by the i2c 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>
Acked-by: Wolfram Sang <wsa@the-dreams.de>
Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/i2c/i2c-core.c