commit | b9f1b45bacb6485838e0504c312ecabc90c1e273 | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rjw@sisk.pl> | Wed Jul 11 21:25:55 2012 +0200 |
committer | Wolfram Sang <w.sang@pengutronix.de> | Thu Jul 12 12:04:54 2012 +0200 |
tree | 86a23238390f18f476f97ae0ce6ed008bd9e5b55 | |
parent | 783414ba9a65fa15e44716dc478e9536d202e0ff [diff] |
i2c-puv3: Use struct dev_pm_ops for power management Make the PKUnity-v3 SoC I2C controller driver define its suspend callback through a struct dev_pm_ops object rather than by using a legacy PM hook in struct platform_driver. The empty resume callback is not necessary, so remove it. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>