From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50EB2C77B61 for ; Tue, 25 Apr 2023 22:01:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231978AbjDYWBP (ORCPT ); Tue, 25 Apr 2023 18:01:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46204 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232003AbjDYWBO (ORCPT ); Tue, 25 Apr 2023 18:01:14 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F75AA7 for ; Tue, 25 Apr 2023 15:01:13 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CE48662FF8 for ; Tue, 25 Apr 2023 22:01:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EE330C433EF; Tue, 25 Apr 2023 22:01:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682460072; bh=l0Zpbnqe1RRbJ72PnlWCBmP2XYR0o1BmKtk3lY2cNWk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=td0/oucEbjV2MfDPmOjq2RZAD11z6N2eDFpUyW2h6qxgNkb15pZILT3MIB5m+hUjr 1+19VfpH0QMXcQlY9QV4IhIXGRSvJNDoq0yt0RMEUHWiSCBZeCDECF0fB1DslfJY5+ j8LfxLolgdNufag5x6DNvriZCS/cZWMhSjPkPH3WD4myUdu4DZeeoIM9rBLIGs8ed+ qz9G8Q7L8Fz8V7QkMKaahWJLEt7282jUYBC762cf3ZmcuKp86+2i5b2d3a6FKKGKri oKYwO5K8BWsjErFnH88AVISaUznANsQM46NcA/e4qd05/byZfIieJnC9QOI7qI0/p3 rhyIT2gVo44lA== Date: Tue, 25 Apr 2023 15:01:11 -0700 From: Jakub Kicinski To: "Arnd Bergmann" Cc: "Andrew Lunn" , "Paolo Abeni" , Netdev , "Heiner Kallweit" , "Russell King" , "David S . Miller" , "Eric Dumazet" Subject: Re: [PATCH net-next] net: phy: drop PHYLIB_LEDS knob Message-ID: <20230425150111.1b17b17b@kernel.org> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Tue, 25 Apr 2023 22:44:34 +0100 Arnd Bergmann wrote: > On Tue, Apr 25, 2023, at 22:38, Andrew Lunn wrote: > >> > >> -config PHYLIB_LEDS > >> - bool "Support probing LEDs from device tree" > > > > I don't know Kconfig to well, but i think you just need to remove the > > text, just keep the bool. > > > > - bool "Support probing LEDs from device tree" > > + bool > > Right, that should work, or it can become > > def_bool y > > or even > > def_bool OF > > for brevity. Hm, I think Paolo was concerned that we'd get PHYLIB_LEDS=y if PHYLIB=n and LEDS_CLASS=n. But that's not possible because the option is in the "if PHYLIB" section. Is that right?