aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-02-25 20:28:24 -0500
committerMark Brown <broonie@linaro.org>2014-03-04 23:46:24 -0500
commit1480916ebd6fc9c54da5e9e09cf342a061063e39 (patch)
treed335449274ab96d23a13ecc1ae5d0cdc02a83b98
parent38dbfb59d1175ef458d006556061adeaa8751b72 (diff)
spi: bcm63xx-hsspi: Use SIMPLE_DEV_PM_OPS macro
Use SIMPLE_DEV_PM_OPS macro in order to make the code simpler. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r--drivers/spi/spi-bcm63xx-hsspi.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/spi/spi-bcm63xx-hsspi.c b/drivers/spi/spi-bcm63xx-hsspi.c
index b528f9fc8bc0..13bbce349ed9 100644
--- a/drivers/spi/spi-bcm63xx-hsspi.c
+++ b/drivers/spi/spi-bcm63xx-hsspi.c
@@ -453,9 +453,8 @@ static int bcm63xx_hsspi_resume(struct device *dev)
453} 453}
454#endif 454#endif
455 455
456static const struct dev_pm_ops bcm63xx_hsspi_pm_ops = { 456static SIMPLE_DEV_PM_OPS(bcm63xx_hsspi_pm_ops, bcm63xx_hsspi_suspend,
457 SET_SYSTEM_SLEEP_PM_OPS(bcm63xx_hsspi_suspend, bcm63xx_hsspi_resume) 457 bcm63xx_hsspi_resume);
458};
459 458
460static struct platform_driver bcm63xx_hsspi_driver = { 459static struct platform_driver bcm63xx_hsspi_driver = {
461 .driver = { 460 .driver = {