Skip to content

Commit f458fc9

Browse files
andy-shevbroonie
authored andcommitted
spi: microchip-core: Remove unneeded PM related macro
Static declaration by default are 0 or NULL, no need to initialise them explicitly. Remove unneeded PM related macro. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Prajna Rajendra Kumar <prajna.rajendrakumar@microchip.com> Link: https://patch.msgid.link/20251126075558.2035012-7-andriy.shevchenko@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 4db5a07 commit f458fc9

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

drivers/spi/spi-microchip-core-spi.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -410,8 +410,6 @@ static void mchp_corespi_remove(struct platform_device *pdev)
410410
mchp_corespi_disable(spi);
411411
}
412412

413-
#define MICROCHIP_SPI_PM_OPS (NULL)
414-
415413
/*
416414
* Platform driver data structure
417415
*/
@@ -428,7 +426,6 @@ static struct platform_driver mchp_corespi_driver = {
428426
.probe = mchp_corespi_probe,
429427
.driver = {
430428
.name = "microchip-corespi",
431-
.pm = MICROCHIP_SPI_PM_OPS,
432429
.of_match_table = of_match_ptr(mchp_corespi_dt_ids),
433430
},
434431
.remove = mchp_corespi_remove,

0 commit comments

Comments
 (0)