spi: bcm63xx: remove PM_SLEEP based conditional compilation
authorDhruva Gole <d-gole@ti.com>
Thu, 20 Apr 2023 12:16:15 +0000 (17:46 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 21 Apr 2023 12:45:52 +0000 (13:45 +0100)
commit25f0617109496e1aff49594fbae5644286447a0f
tree55f478946a1ef831322f36c0b7cba577cd51e061
parentbe3206e8906e7a93df673ab2e96d69304a008edc
spi: bcm63xx: remove PM_SLEEP based conditional compilation

Get rid of conditional compilation based on CONFIG_PM_SLEEP because
it may introduce build issues with certain configs where it maybe disabled
This is because if above config is not enabled the suspend-resume
functions are never part of the code but the bcm63xx_spi_pm_ops struct
still inits them to non-existent suspend-resume functions.

Fixes: b42dfed83d95 ("spi: add Broadcom BCM63xx SPI controller driver")

Signed-off-by: Dhruva Gole <d-gole@ti.com>
Link: https://lore.kernel.org/r/20230420121615.967487-1-d-gole@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-bcm63xx.c