Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp418345rdb; Thu, 15 Feb 2024 04:29:46 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWpo4DHkmPM+ibpl+eVLKYnQW/Ti9yqLUOq0vYMhHp4lXH+FnwISWleOEZNvjcrGAEtFCULD41mk+o2bElEGumk4Yc+RyaSevRRSoYCXw== X-Google-Smtp-Source: AGHT+IHcvnzFNOtdpewVZwHlsTEqCQtp/H7iKqfsI9fk1xXLNFH+n2bb643W9wqN1I3pPB9Hl9nE X-Received: by 2002:a17:903:2350:b0:1db:9c9d:fa3b with SMTP id c16-20020a170903235000b001db9c9dfa3bmr89893plh.55.1708000186075; Thu, 15 Feb 2024 04:29:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708000186; cv=pass; d=google.com; s=arc-20160816; b=CJQs5x2PXLlxWoLgdULcuru7+2ismeI+n/B6alc+15zlIY7ciy4mGRl0WTpUFgAz+u uPfEgSFdJrq1u0iSUQ5gaDQdz/PZS4LbywKUdoTTNjeBVWh5rrco9Gxv+pmfEwkGhspC yaLGex31VBZkrGNX82wbIxtckUS9kiAm59wBXFL/7hEP38BTcVW64S7iuINL2jMmSzhZ wHr1nL8YHePOqrewTnz0IEAALCi2s75HVh1NaSKjtIeXJwjXepoZ/Pvt9w//1D2fzNap KX88Z2IWdJ2oUo3+2BUFmDrwjURAkyYT3CZG16GJN8/danLS6W9LtuOUGidXMb3THokd htyA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=DroRDiixIta52dRC0kBdYzbBsXfxkiN1Si4pySYG4VM=; fh=PJxB7uubkETfWEPQa+v2KrQzEZFgEchKsgKVF7FsFlo=; b=M0AT3FJ8e0mNMpw5ZI/VBo95dR0YMBm+CV5CAQQyGbRYpaA9oZlD2oYj/G8dRDOueA dNM66t/icea9lkzKnsUT1ONco/v5mhX3ifbh3w4YDFt5+8OKMwFBZzxOjhlw4Jjy5w/5 zI8qFeRt4C01SDD6hW/R6PTWlrb2xQkKRfxVLged0eOtHLAERro0Ytq6OaEmPgU5tGLv qv+DPH500KkByoqoc9PuwLeE6KihiAm08nv18QIb+5NmngIuQUHdqEB4/gcjPMZucSoN BLzpPH9bSqONkHN33Me7nJHnd+vEwUaqPUDnklXIJrUgfAItkHkL2KuR17bnCjmSajYT eE8w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Gny9/BCp"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-66832-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66832-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id l11-20020a17090270cb00b001db63a53b73si1043447plt.45.2024.02.15.04.29.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 04:29:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66832-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Gny9/BCp"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-66832-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66832-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id CBEB1B2C132 for ; Thu, 15 Feb 2024 11:48:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5C1FF12B15C; Thu, 15 Feb 2024 11:48:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Gny9/BCp" Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C3F7012AAE4 for ; Thu, 15 Feb 2024 11:48:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707997717; cv=none; b=n6ED+okw33rOiGBygkdhOT5rlxjqyDjzmVl5Decuu+ivNyNSzFjbaUSlVvthDNICchVRsIl46FC1XP75GusdBr3uaeKBMPzHNbaVqAGnnufds+QP2atgLO2kTsrbqiDanjznwdzY54UiwSy0KjaZ75/NYHdTbqyXLaAbuAxsyyM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707997717; c=relaxed/simple; bh=FaR+rwTP87J6jI3GhtgMXyL1UpaYTYZi7hZBMtfoOLw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=VIow4WmhTQnset7Kk07CkuwIYoM6HbbB/MuIqNhLL/zqr+jwOrLvwwiULrfKNskLy5ZMgrlixu5KHvULHMwMARS7x/3n3JDrSrXAL2isHEkHGo/iA2YkUbqefNEa+A9OpitOBlHb6JOQiUyhEhlrHpt8XQmKOlzs64gHhOB9CwA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Gny9/BCp; arc=none smtp.client-ip=209.85.128.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-4121a8635a2so3395085e9.3 for ; Thu, 15 Feb 2024 03:48:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707997714; x=1708602514; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=DroRDiixIta52dRC0kBdYzbBsXfxkiN1Si4pySYG4VM=; b=Gny9/BCp7iqVOJLUyqZ0dxeN+cd4IZKyOobTfX6l/tL5oSnMN9vq8fsJKsousx9Rui QFsOtZnJDsRtQ1IPmENihjPXfF7msEtcwwG/iMM65yfQ8PzjPG6TUqIW5SMIuHncxH7g mdy9hYKroAQ9jP6kDZEtXX3238awHWQIHLqQuBFiXf3UcZRdY4vpVpQcOR/iM5xRtcFg CuiBiTy2QAtCs/XCmtt5oIy4lulJQZ4SBCvQS3uwN3PRjFNuliKSg8eZeFaliKa+mrmR Zm89HBwl/Gyycs7E95vCTg5VHyNx+d1KF/YaxjgHM6LYJK6fzePUm9mw9e3MsmD8X0S5 Nl/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707997714; x=1708602514; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=DroRDiixIta52dRC0kBdYzbBsXfxkiN1Si4pySYG4VM=; b=BA7wVDutnXloVjW+i9kzyD5lVPjme1LZknpN5lRte8H031MYHl+rXHjsXGngDUNl9W tW+2+QyWrrOH+MNDBvWeu6M4MWJuxwU5ilW9TaR3qdqvT/fmiP4v+62tp10ByEHTD2Fe k34/jQ8y4R+DM+h7o5fxe5SJ7BB0vNqJ0qP4HLay0tOAjRNTdu3Kng+iilFdJK+rPiA1 k3rYRfc7m8G46mV2umpZ6a3kSwjt3p2MljS3Z/0KbWGxm3RkEX2qA3Zi6jmwiAVwzUiz c//MfHeOmmr9+HiH7gwTpQVNotadMrhZ9OFtrNCTOeGhzPh49IxkiYWxtLWQ+33Fcqip PHXg== X-Forwarded-Encrypted: i=1; AJvYcCXhytXyxfedkd5n71XPkLyqOI2IIAunMXacalemqHMHaXl78IvPu2liruo8g9HwlcjtgdSUaMPpwRR6avOz3JWjicqukajuw3OcIiHj X-Gm-Message-State: AOJu0Yzn3aNUOD0t0qNVaid0iQ2C0ERnsyOHTiGYI0Ufy6eKaqjfYH1t 8NqKQnhZ5jojDYR9jiKlqPCE8BoSSlh17SHoCAJ8YhjQXMV8EC+hQMxWFkKu+mM= X-Received: by 2002:a05:600c:45c6:b0:412:1500:beaa with SMTP id s6-20020a05600c45c600b004121500beaamr1042184wmo.40.1707997713895; Thu, 15 Feb 2024 03:48:33 -0800 (PST) Received: from aspen.lan (aztw-34-b2-v4wan-166919-cust780.vm26.cable.virginm.net. [82.37.195.13]) by smtp.gmail.com with ESMTPSA id t4-20020a5d5344000000b0033ce214a97csm1543569wrv.17.2024.02.15.03.48.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 03:48:33 -0800 (PST) Date: Thu, 15 Feb 2024 11:48:31 +0000 From: Daniel Thompson To: Duje =?utf-8?Q?Mihanovi=C4=87?= Cc: Pavel Machek , Lee Jones , Linus Walleij , Arnd Bergmann , Flavio Suligoi , Hans de Goede , Jianhua Lu , "Matthew Wilcox (Oracle)" , Helge Deller , Jingoo Han , Karel Balej , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-leds@vger.kernel.org Subject: Re: [PATCH 2/2] leds: expresswire: don't depend on NEW_LEDS Message-ID: <20240215114831.GE9758@aspen.lan> References: <20240212-expresswire-deps-v1-0-685ad10cd693@skole.hr> <20240212-expresswire-deps-v1-2-685ad10cd693@skole.hr> 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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240212-expresswire-deps-v1-2-685ad10cd693@skole.hr> On Mon, Feb 12, 2024 at 09:03:26PM +0100, Duje Mihanović wrote: > The ExpressWire library does not depend on NEW_LEDS and selecting it > from a subsystem other than LEDs may cause Kconfig warnings: > > WARNING: unmet direct dependencies detected for LEDS_EXPRESSWIRE > Depends on [n]: NEW_LEDS [=n] && GPIOLIB [=y] > Selected by [y]: > - BACKLIGHT_KTD2801 [=y] && HAS_IOMEM [=y] && BACKLIGHT_CLASS_DEVICE [=y] > > Move it out of the "if NEW_LEDS" block to allow selection from other > subsystems (in particular backlight) without raising this warning. > > Link: https://lore.kernel.org/20240212111819.936815-1-arnd@kernel.org > Reported-by: Arnd Bergmann > Suggested-by: Daniel Thompson > Fixes: 25ae5f5f4168 ("leds: Introduce ExpressWire library") > Signed-off-by: Duje Mihanović Reviewed-by: Daniel Thompson Daniel.