Skip to contentSkip to conversation

mtd: physmap: Drop leftovers of removed code for Baikal SoC

PATCH Applied Andy Shevchenko 2 participants 2 messages Mar 13 – Mar 16 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mtd: physmap: Drop leftovers of removed code for Baikal SoC

The previous clean up killed the driver along with dropping some calls but missed one place to drop. Do it here.

Fixes 16d68d10f5b93 "(mtd: physmap: physmap-bt1-rom: Remove not-going-to-be-supported code for Baikal SoC)"
---
 drivers/mtd/maps/physmap-core.c | 4 ----
 1 file changed, 4 deletions(-)
drivers/mtd/maps/physmap-core.c +0 -4
index 2e31c30d266c..dcda7685fc99 100644
@@ -364,10 +364,6 @@ static int physmap_flash_of_init(struct platform_device *dev)
 		info->maps[i].bankwidth = bankwidth;
 		info->maps[i].device_node = dp;
 
-		err = of_flash_probe_bt1_rom(dev, dp, &info->maps[i]);
-		if (err)
-			return err;
-
 		err = of_flash_probe_gemini(dev, dp, &info->maps[i]);
 		if (err)
 			return err;
Signature · 1 line
2.50.1
maintainer Applied
#1 lore raw
Quoted 4 lines · Andy Shevchenko

The previous clean up killed the driver along with dropping some calls but missed one place to drop. Do it here.

Applied to mtd/next, thanks!

[1/1] mtd: physmap: Drop leftovers of removed code for Baikal SoC

      commit: 54f955ba09367eb9abad6c4afd3bb81c2b7e0b54

Patche(s) should be available on mtd/linux.git and will be part of the next PR (provided that no robot complains by then).

Kind regards,
Miquèl