aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/spi
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2015-03-08 09:56:37 -0400
committerMark Brown <broonie@kernel.org>2015-03-08 15:57:55 -0400
commit47875e81476bda8a9bd4875eb281b46e33027d42 (patch)
treecdb3074b8c724983494cf7f051a53ad3d6b880be /Documentation/spi
parentc517d838eb7d07bbe9507871fab3931deccff539 (diff)
spi: Use PM ops instead of legacy suspend/resume
New drivers should use PM ops instead of the legacy suspend/resume callbacks. Update the SPI device driver guide to reflect this. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/spi')
-rw-r--r--Documentation/spi/spi-summary3
1 files changed, 1 insertions, 2 deletions
diff --git a/Documentation/spi/spi-summary b/Documentation/spi/spi-summary
index d29734bff28c..d1824b399b2d 100644
--- a/Documentation/spi/spi-summary
+++ b/Documentation/spi/spi-summary
@@ -342,12 +342,11 @@ SPI protocol drivers somewhat resemble platform device drivers:
342 .driver = { 342 .driver = {
343 .name = "CHIP", 343 .name = "CHIP",
344 .owner = THIS_MODULE, 344 .owner = THIS_MODULE,
345 .pm = &CHIP_pm_ops,
345 }, 346 },
346 347
347 .probe = CHIP_probe, 348 .probe = CHIP_probe,
348 .remove = CHIP_remove, 349 .remove = CHIP_remove,
349 .suspend = CHIP_suspend,
350 .resume = CHIP_resume,
351 }; 350 };
352 351
353The driver core will automatically attempt to bind this driver to any SPI 352The driver core will automatically attempt to bind this driver to any SPI