]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
i2c: ismt: PCI core handles power state for us
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 16 Sep 2015 14:23:59 +0000 (17:23 +0300)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 20 Oct 2015 14:51:39 +0000 (16:51 +0200)
commitfb8918b2cf8741eef3972cbe70ab5dabd6ff67e7
tree0738bea49ac4e35b849ed482cd8d5aff05575478
parent600ca08023e33b6afe7ba65aebe419058e17eec7
i2c: ismt: PCI core handles power state for us

There is no need to repeat the work that is already done in the PCI driver
core. Remove suspend and resume callbacks.

Note that there is no more calls performed to enable or disable a PCI
device during suspend-resume cycle. Nowadays they seems to be
superfluous. Someone can read more in [1].

[1] https://www.kernel.org/doc/ols/2009/ols2009-pages-319-330.pdf

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-ismt.c