[PATCH v3 6/6] spi: microchip-core: Remove unneeded PM related macro

From: Andy Shevchenko

Date: Thu Nov 27 2025 - 14:00:37 EST


Static declaration by default are 0 or NULL, no need to initialise
them explicitly. Remove unneeded PM related macro.

Reviewed-by: Prajna Rajendra Kumar <prajna.rajendrakumar@xxxxxxxxxxxxx>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
---
drivers/spi/spi-microchip-core-spi.c | 3 ---
1 file changed, 3 deletions(-)

diff --git a/drivers/spi/spi-microchip-core-spi.c b/drivers/spi/spi-microchip-core-spi.c
index d37e193e282f..2f4b21ad56a7 100644
--- a/drivers/spi/spi-microchip-core-spi.c
+++ b/drivers/spi/spi-microchip-core-spi.c
@@ -403,8 +403,6 @@ static void mchp_corespi_remove(struct platform_device *pdev)
mchp_corespi_disable(spi);
}

-#define MICROCHIP_SPI_PM_OPS (NULL)
-
/*
* Platform driver data structure
*/
@@ -421,7 +419,6 @@ static struct platform_driver mchp_corespi_driver = {
.probe = mchp_corespi_probe,
.driver = {
.name = "microchip-corespi",
- .pm = MICROCHIP_SPI_PM_OPS,
.of_match_table = of_match_ptr(mchp_corespi_dt_ids),
},
.remove = mchp_corespi_remove,
--
2.50.1