Skip to contentSkip to conversation

Kconfig clean-up after IDE removal

PATCH RESEND Superseded Lukas Bulwahn 1 participant 2 messages Oct 11, 2021

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

cover Kconfig clean-up after IDE removal

Dear Sekhar, dear Russell,

here is some cleanup to the issue of Kconfig references to obsolete IDE configs.

Following checkkconfigsymbols.py indications, this patch series cleans up all references to removed IDE Kconfig symbol throughout the current kernel tree.

This is a resend of the patch that was not yet picked up from the patch series
https://lore.kernel.org/all/[email protected]/

Pavel Machek already picked the patch "leds: trigger: remove reference to obsolete CONFIG_IDE_GD_ATA".

Best regards,

Lukas

Lukas Bulwahn (1):
arm: davinci: remove reference to obsolete BLK_DEV_PALMCHIP_BK3710

 arch/arm/mach-davinci/board-dm644x-evm.c  | 3 +--
 arch/arm/mach-davinci/board-dm646x-evm.c  | 3 +--
 arch/arm/mach-davinci/board-neuros-osd2.c | 3 +--
 3 files changed, 3 insertions(+), 6 deletions(-)
Signature · 1 line
2.26.2
#1 lore raw

PATCH RESEND 1/1 arm: davinci: remove reference to obsolete BLK_DEV_PALMCHIP_BK3710

Commit b7fb14d3ac63 ("ide: remove the legacy ide driver") removes the definition of the config BLK_DEV_PALMCHIP_BK3710.

So, remove the obsolete references in the mach-davinci architecture.

---
 arch/arm/mach-davinci/board-dm644x-evm.c  | 3 +--
 arch/arm/mach-davinci/board-dm646x-evm.c  | 3 +--
 arch/arm/mach-davinci/board-neuros-osd2.c | 3 +--
 3 files changed, 3 insertions(+), 6 deletions(-)
arch/arm/mach-davinci/board-dm644x-evm.c +1 -2
index cce3a621eb20..df6dbb3f0faf 100644
@@ -834,8 +834,7 @@ static int davinci_phy_fixup(struct phy_device *phydev)
 	return 0;
 }
 
-#define HAS_ATA		(IS_ENABLED(CONFIG_BLK_DEV_PALMCHIP_BK3710) || \
-			 IS_ENABLED(CONFIG_PATA_BK3710))
+#define HAS_ATA		IS_ENABLED(CONFIG_PATA_BK3710)
 
 #define HAS_NOR		IS_ENABLED(CONFIG_MTD_PHYSMAP)
 
arch/arm/mach-davinci/board-dm646x-evm.c +1 -2
index ee91d81ebbfd..744ece6b6b9a 100644
@@ -151,8 +151,7 @@ static struct platform_device davinci_aemif_device = {
 	.num_resources	= ARRAY_SIZE(davinci_aemif_resources),
 };
 
-#define HAS_ATA		(IS_ENABLED(CONFIG_BLK_DEV_PALMCHIP_BK3710) || \
-			 IS_ENABLED(CONFIG_PATA_BK3710))
+#define HAS_ATA		IS_ENABLED(CONFIG_PATA_BK3710)
 
 #ifdef CONFIG_I2C
 /* CPLD Register 0 bits to control ATA */
arch/arm/mach-davinci/board-neuros-osd2.c +1 -2
index b4843f68bb57..81c21fe5748a 100644
@@ -164,8 +164,7 @@ static struct davinci_mmc_config davinci_ntosd2_mmc_config = {
 	.wires		= 4,
 };
 
-#define HAS_ATA		(IS_ENABLED(CONFIG_BLK_DEV_PALMCHIP_BK3710) || \
-			 IS_ENABLED(CONFIG_PATA_BK3710))
+#define HAS_ATA		IS_ENABLED(CONFIG_PATA_BK3710)
 
 #define HAS_NAND	IS_ENABLED(CONFIG_MTD_NAND_DAVINCI)
 
Signature · 1 line
2.26.2