linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] More (hopefully final) Kconfig clean-up after IDE removal
@ 2021-08-04 12:34 Lukas Bulwahn
  2021-08-04 12:34 ` [PATCH 1/2] leds: trigger: remove reference to obsolete CONFIG_IDE_GD_ATA Lukas Bulwahn
  2021-08-04 12:34 ` [PATCH 2/2] arm: davinci: remove reference to obsolete BLK_DEV_PALMCHIP_BK3710 Lukas Bulwahn
  0 siblings, 2 replies; 4+ messages in thread
From: Lukas Bulwahn @ 2021-08-04 12:34 UTC (permalink / raw)
  To: Christoph Hellwig, Jens Axboe
  Cc: Randy Dunlap, Pavel Machek, Sekhar Nori, Bartosz Golaszewski,
	linux-arm-kernel, linux-kernel, kernel-janitors, Lukas Bulwahn

Dear Christoph, dear Jens,

here is a follow-up to the issue of Kconfig references to obsolete IDE configs,
which I first identified and addressed in commit 094121ef815f ("arch: Kconfig:
clean up obsolete use of HAVE_IDE").

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

Pavel, Sekhar, Bartosz, you are CCed, just to let know about minor follow-up
cleanup in your files.

Christoph, please review and ack.

Jens, please pick these two further clean-up patches.


Best regards,

Lukas

Lukas Bulwahn (2):
  leds: trigger: remove reference to obsolete CONFIG_IDE_GD_ATA
  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 +--
 drivers/leds/trigger/Kconfig              | 2 +-
 4 files changed, 4 insertions(+), 7 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] leds: trigger: remove reference to obsolete CONFIG_IDE_GD_ATA
  2021-08-04 12:34 [PATCH 0/2] More (hopefully final) Kconfig clean-up after IDE removal Lukas Bulwahn
@ 2021-08-04 12:34 ` Lukas Bulwahn
  2021-08-18  7:00   ` Pavel Machek
  2021-08-04 12:34 ` [PATCH 2/2] arm: davinci: remove reference to obsolete BLK_DEV_PALMCHIP_BK3710 Lukas Bulwahn
  1 sibling, 1 reply; 4+ messages in thread
From: Lukas Bulwahn @ 2021-08-04 12:34 UTC (permalink / raw)
  To: Christoph Hellwig, Jens Axboe
  Cc: Randy Dunlap, Pavel Machek, Sekhar Nori, Bartosz Golaszewski,
	linux-arm-kernel, linux-kernel, kernel-janitors, Lukas Bulwahn

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

So, remove the obsolete reference in ./drivers/leds/trigger/Kconfig.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
---
 drivers/leds/trigger/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/leds/trigger/Kconfig b/drivers/leds/trigger/Kconfig
index b77a01bd27f4..1f1d57288085 100644
--- a/drivers/leds/trigger/Kconfig
+++ b/drivers/leds/trigger/Kconfig
@@ -34,7 +34,7 @@ config LEDS_TRIGGER_ONESHOT
 
 config LEDS_TRIGGER_DISK
 	bool "LED Disk Trigger"
-	depends on IDE_GD_ATA || ATA
+	depends on ATA
 	help
 	  This allows LEDs to be controlled by disk activity.
 	  If unsure, say Y.
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] arm: davinci: remove reference to obsolete BLK_DEV_PALMCHIP_BK3710
  2021-08-04 12:34 [PATCH 0/2] More (hopefully final) Kconfig clean-up after IDE removal Lukas Bulwahn
  2021-08-04 12:34 ` [PATCH 1/2] leds: trigger: remove reference to obsolete CONFIG_IDE_GD_ATA Lukas Bulwahn
@ 2021-08-04 12:34 ` Lukas Bulwahn
  1 sibling, 0 replies; 4+ messages in thread
From: Lukas Bulwahn @ 2021-08-04 12:34 UTC (permalink / raw)
  To: Christoph Hellwig, Jens Axboe
  Cc: Randy Dunlap, Pavel Machek, Sekhar Nori, Bartosz Golaszewski,
	linux-arm-kernel, linux-kernel, kernel-janitors, Lukas Bulwahn

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.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
---
 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(-)

diff --git a/arch/arm/mach-davinci/board-dm644x-evm.c b/arch/arm/mach-davinci/board-dm644x-evm.c
index cce3a621eb20..df6dbb3f0faf 100644
--- a/arch/arm/mach-davinci/board-dm644x-evm.c
+++ b/arch/arm/mach-davinci/board-dm644x-evm.c
@@ -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)
 
diff --git a/arch/arm/mach-davinci/board-dm646x-evm.c b/arch/arm/mach-davinci/board-dm646x-evm.c
index ee91d81ebbfd..744ece6b6b9a 100644
--- a/arch/arm/mach-davinci/board-dm646x-evm.c
+++ b/arch/arm/mach-davinci/board-dm646x-evm.c
@@ -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 */
diff --git a/arch/arm/mach-davinci/board-neuros-osd2.c b/arch/arm/mach-davinci/board-neuros-osd2.c
index b4843f68bb57..81c21fe5748a 100644
--- a/arch/arm/mach-davinci/board-neuros-osd2.c
+++ b/arch/arm/mach-davinci/board-neuros-osd2.c
@@ -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)
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] leds: trigger: remove reference to obsolete CONFIG_IDE_GD_ATA
  2021-08-04 12:34 ` [PATCH 1/2] leds: trigger: remove reference to obsolete CONFIG_IDE_GD_ATA Lukas Bulwahn
@ 2021-08-18  7:00   ` Pavel Machek
  0 siblings, 0 replies; 4+ messages in thread
From: Pavel Machek @ 2021-08-18  7:00 UTC (permalink / raw)
  To: Lukas Bulwahn
  Cc: Christoph Hellwig, Jens Axboe, Randy Dunlap, Sekhar Nori,
	Bartosz Golaszewski, linux-arm-kernel, linux-kernel,
	kernel-janitors

[-- Attachment #1: Type: text/plain, Size: 392 bytes --]

On Wed 2021-08-04 14:34:25, Lukas Bulwahn wrote:
> Commit b7fb14d3ac63 ("ide: remove the legacy ide driver") removes the
> definition of the config IDE_GD_ATA.
> 
> So, remove the obsolete reference in ./drivers/leds/trigger/Kconfig.
> 
> Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>

Thanks, applied.
								Pavel
								
-- 
http://www.livejournal.com/~pavelmachek

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-08-18  7:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-04 12:34 [PATCH 0/2] More (hopefully final) Kconfig clean-up after IDE removal Lukas Bulwahn
2021-08-04 12:34 ` [PATCH 1/2] leds: trigger: remove reference to obsolete CONFIG_IDE_GD_ATA Lukas Bulwahn
2021-08-18  7:00   ` Pavel Machek
2021-08-04 12:34 ` [PATCH 2/2] arm: davinci: remove reference to obsolete BLK_DEV_PALMCHIP_BK3710 Lukas Bulwahn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).