netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] net: phy: realtek: make HWMON support a user-visible Kconfig symbol
@ 2025-02-03 20:33 Heiner Kallweit
  2025-02-04 11:12 ` Simon Horman
  2025-02-05  2:20 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Heiner Kallweit @ 2025-02-03 20:33 UTC (permalink / raw)
  To: Andrew Lunn, Paolo Abeni, Jakub Kicinski, David Miller,
	Eric Dumazet, Russell King - ARM Linux
  Cc: netdev@vger.kernel.org, Simon Horman, Geert Uytterhoeven

Make config symbol REALTEK_PHY_HWMON user-visible, so that users can
remove support if not needed.

Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
---
 drivers/net/phy/realtek/Kconfig | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/drivers/net/phy/realtek/Kconfig b/drivers/net/phy/realtek/Kconfig
index 31935f147..b05c2a1e9 100644
--- a/drivers/net/phy/realtek/Kconfig
+++ b/drivers/net/phy/realtek/Kconfig
@@ -4,8 +4,12 @@ config REALTEK_PHY
 	help
 	  Currently supports RTL821x/RTL822x and fast ethernet PHYs
 
+if REALTEK_PHY
+
 config REALTEK_PHY_HWMON
-	def_bool REALTEK_PHY && HWMON
-	depends on !(REALTEK_PHY=y && HWMON=m)
+	bool "HWMON support for Realtek PHYs"
+	depends on HWMON && !(REALTEK_PHY=y && HWMON=m)
 	help
 	  Optional hwmon support for the temperature sensor
+
+endif # REALTEK_PHY
-- 
2.48.1




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

* Re: [PATCH net-next] net: phy: realtek: make HWMON support a user-visible Kconfig symbol
  2025-02-03 20:33 [PATCH net-next] net: phy: realtek: make HWMON support a user-visible Kconfig symbol Heiner Kallweit
@ 2025-02-04 11:12 ` Simon Horman
  2025-02-05  2:20 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2025-02-04 11:12 UTC (permalink / raw)
  To: Heiner Kallweit
  Cc: Andrew Lunn, Paolo Abeni, Jakub Kicinski, David Miller,
	Eric Dumazet, Russell King - ARM Linux, netdev@vger.kernel.org,
	Geert Uytterhoeven

On Mon, Feb 03, 2025 at 09:33:39PM +0100, Heiner Kallweit wrote:
> Make config symbol REALTEK_PHY_HWMON user-visible, so that users can
> remove support if not needed.
> 
> Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

Reviewed-by: Simon Horman <horms@kernel.org>

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

* Re: [PATCH net-next] net: phy: realtek: make HWMON support a user-visible Kconfig symbol
  2025-02-03 20:33 [PATCH net-next] net: phy: realtek: make HWMON support a user-visible Kconfig symbol Heiner Kallweit
  2025-02-04 11:12 ` Simon Horman
@ 2025-02-05  2:20 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-02-05  2:20 UTC (permalink / raw)
  To: Heiner Kallweit
  Cc: andrew+netdev, pabeni, kuba, davem, edumazet, linux, netdev,
	horms, geert

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Mon, 3 Feb 2025 21:33:39 +0100 you wrote:
> Make config symbol REALTEK_PHY_HWMON user-visible, so that users can
> remove support if not needed.
> 
> Suggested-by: Geert Uytterhoeven <geert@linux-m68k.org>
> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
> ---
>  drivers/net/phy/realtek/Kconfig | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)

Here is the summary with links:
  - [net-next] net: phy: realtek: make HWMON support a user-visible Kconfig symbol
    https://git.kernel.org/netdev/net-next/c/51773846fab2

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



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

end of thread, other threads:[~2025-02-05  2:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-03 20:33 [PATCH net-next] net: phy: realtek: make HWMON support a user-visible Kconfig symbol Heiner Kallweit
2025-02-04 11:12 ` Simon Horman
2025-02-05  2:20 ` patchwork-bot+netdevbpf

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).