Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1290857rdb; Wed, 24 Jan 2024 10:19:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IF1ZXHvXmF8Z5Ab6qiXGPG4FqBtZGkLeUW3qNssndMlMTimjMLA/kko9HMLFUpBl+jup7rz X-Received: by 2002:a05:6512:4019:b0:50e:7aec:1236 with SMTP id br25-20020a056512401900b0050e7aec1236mr2145269lfb.61.1706120343922; Wed, 24 Jan 2024 10:19:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706120343; cv=pass; d=google.com; s=arc-20160816; b=YHmMheZxEfjQOq9JI0DHlrC4CA/+yVkqY2aFJlX3906FgA+wczQjfLqA9m3NS1lsxl P1L/dXiboMQ/DnI/vmzCRa2xPH5OI6AzCDXclt2yUqBIVn/aFpq1MShM/ycnVh3/btHS hNXkcDY7YOKTatgN+QbIGgo2g7MH8Wlse0SrJenKbj5urbfQxwGGG078bULkrLK4ft1P 2mcE17PUYg6xmOcF2lC51du3HHK96hz/wM/fMNZ0U89ziN80uNVo0GfujfA/vzrehhxn zgD9CH7bGdwyN8K8ZFrxNjmg4vw3Y4stRtfq/WWdNyKFWLTNtu/UFTAdzXjVhkmXDPta INoQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Zr+jibCWzNBK+PwfCTR3+UGAYeM4xJLLX8e3CDAKD58=; fh=l8yecfVGvD7PXMddYVNYZWK4H8k1t6SI9p50hAgf+Co=; b=eH69iRwkkLgB6NS/16D3xcLpHEXJ2ziw34FKWZ8Wu1BwIm+wSEhzb2JsL2B1+ca2nE fGCcJatoZSpCMHzgQt4XIuFT49o0MtubNRAKruRHWgiG/GmhILftP9swc4rNWYlG9uFa lmOA/1zudSnlYMaHD/UWzezIz/ehhe9E/LiQrGWGGEs35jT2fZSSDQZ5vuVYijafNN9O EANOS6JW/5jBb5Om4yN8NkXIrIrB9LIgwEz8FQ8/qnCxd0HIzpX2Jg7XYcjCCm6CtATS U3Vm837qfdcE27eKydHsM4HinMphTlOIW34a0zShsYV8ASrOAqfvnwbk4A4sETcXvYw1 K77A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=RZiH9wTh; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-37499-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37499-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id mb15-20020a170906eb0f00b00a3064ce6062si114364ejb.388.2024.01.24.10.19.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 10:19:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-37499-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=RZiH9wTh; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-37499-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37499-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id A4FB01F24AFF for ; Wed, 24 Jan 2024 18:19:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8EAD712A17B; Wed, 24 Jan 2024 18:18:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="RZiH9wTh" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 84F0B12A165; Wed, 24 Jan 2024 18:18:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706120334; cv=none; b=fA/CPS5DMLg42WJjQLFwbjW4vGs/21jwMC1JHR4h28aYdxs1mfBsWUy6dbsOwNSAaP7EeyQiAVa7yuWc8unlM//smskvhRK0wZwfEYihHRcOrgYipy+ZpzKKHB/YRd3+ENHKh+2PpSHNYc94YuznxSQCSGgpzHc2M2YUJTL8sn4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706120334; c=relaxed/simple; bh=DL/EQqcJCQTk9UAclAYOtLINf9xZa1C9Zef6JseuhSA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bqSR+GsaTzhttc1U+Q7ET0hbBTITXId7dXp4pAE0APPIx/WbVKCN6e34H1TLHX2uTHWh5DYOHTvPI4kTCAKRYMjPmIhEowaOSEYXr8Se+su568cm6vfoOENuabafm6UVvuw/yYkc5jnM1CXzEg/NuNXzhCLyjoh2pQCfEcYjcpw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=RZiH9wTh; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1F2D5C433C7; Wed, 24 Jan 2024 18:18:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1706120334; bh=DL/EQqcJCQTk9UAclAYOtLINf9xZa1C9Zef6JseuhSA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RZiH9wThtrZRAy5vV1Ct2uyELIURtWXK8fmQT/2Pz+TJephG7gDlaFcKPIoidKbOh gbGFb3T3yNFSsTfnTLTOotgkxbd7uLnw9S9WuMD3YiZDqBRoEPgpUqZM1H2gx4QWWt 0nF6bVM7nmeusnnZkvpUM46WZ1v+DMPR5CDVdVxU= Date: Wed, 24 Jan 2024 10:18:53 -0800 From: Greg Kroah-Hartman To: Arnd Bergmann Cc: Pavel Machek , Lee Jones , Andrew Lunn , Arnd Bergmann , Heiner Kallweit , Hans de Goede , Jean-Jacques Hiblot , linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold , Alex Elder , Rui Miguel Silva , Andy Shevchenko , Andreas Kemnade , greybus-dev@lists.linaro.org, linux-staging@lists.linux.dev Subject: Re: [PATCH 2/2] leds: make flash and multicolor dependencies unconditional Message-ID: <2024012442-retool-surgical-d828@gregkh> References: <20240109090715.982332-1-arnd@kernel.org> <20240109090715.982332-2-arnd@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240109090715.982332-2-arnd@kernel.org> On Tue, Jan 09, 2024 at 10:06:40AM +0100, Arnd Bergmann wrote: > From: Arnd Bergmann > > Along the same lines as making devm_led_classdev_register() declared > extern unconditional, do the same thing for the two sub-classes > that have similar stubs. > > The users of these interfaces go to great lengths to allow building > with both the generic leds API and the extended version, but realistically > there is not much use in this, so just simplify it to always rely > on it and remove the confusing fallback logic. > > Signed-off-by: Arnd Bergmann > --- > drivers/leds/Kconfig | 4 ++-- > drivers/leds/flash/Kconfig | 4 ++-- > drivers/staging/greybus/Kconfig | 2 +- > drivers/staging/greybus/light.c | 21 -------------------- > include/linux/led-class-flash.h | 24 ----------------------- > include/linux/led-class-multicolor.h | 29 ---------------------------- > 6 files changed, 5 insertions(+), 79 deletions(-) Acked-by: Greg Kroah-Hartman