From nobody Mon Feb 9 15:24:56 2026 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 B99722745E for ; Thu, 29 Jan 2026 09:46:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769679989; cv=none; b=dyssLguTry+tSEG8dvvvPjiPVrPNv4OkL1JhB4VeYERSTBqJEtjKa2wQDQ1HXoiUdNWN+I70moyTXB4CsYJZVyIUTe/Z/Rq+ABKJTCkcDtJ3eOXpeuM4xOBOtGOkw4j5VTVmMHLi9VY2exhmJjG+QTr5+GdfwSOkqqzyAA3SrFk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769679989; c=relaxed/simple; bh=gwioLcmtUIC/AIvVIzpQ0AH+XJ3UAiNQSFTwSZmr0Jw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=QaQuMxl9HLMHSwJR224MJY+/Mjh5eSVv/xYTG/eTJMB8Pj7m32PhIRsI1K7jAdcPoAYUzi6I5qGpDD3ORfh65ms3KBGURyqygtxiFz005Igu85jnLeHYGViPa/+zWZlXBTZIFWhVqXGk/pOoV1fVXHJQ6Sb0O3rZeka/Tmt8usQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from ptz.office.stw.pengutronix.de ([2a0a:edc0:0:900:1d::77] helo=ratatoskr.trumtrar.info) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1vlObY-0000zg-3u; Thu, 29 Jan 2026 10:46:24 +0100 From: Steffen Trumtrar Date: Thu, 29 Jan 2026 10:45:55 +0100 Subject: [PATCH 1/2] leds: lp5860: Fix compilation as module 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-Transfer-Encoding: quoted-printable Message-Id: <20260129-v6-19-topic-ti-lp5860-fixes-v1-1-635ab524ebbd@pengutronix.de> References: <20260129-v6-19-topic-ti-lp5860-fixes-v1-0-635ab524ebbd@pengutronix.de> In-Reply-To: <20260129-v6-19-topic-ti-lp5860-fixes-v1-0-635ab524ebbd@pengutronix.de> To: Lee Jones , Pavel Machek Cc: linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, Steffen Trumtrar , kernel test robot X-Mailer: b4 0.14.3 X-SA-Exim-Connect-IP: 2a0a:edc0:0:900:1d::77 X-SA-Exim-Mail-From: s.trumtrar@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org When the lp5860 is compiled as module, the lp5860_device_init/remove functions must be exported or the spi-specific module can not use these functions and the compilation will fail. Add the needed EXPORT_SYMBOL_GPL calls and while at it the MODULE_LICENSE and _DESCRIPTION for the lp5860-core module. Signed-off-by: Steffen Trumtrar Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202601230708.wwFMOXZp-lkp@int= el.com/ --- drivers/leds/rgb/leds-lp5860-core.c | 6 ++++++ drivers/leds/rgb/leds-lp5860-spi.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/leds/rgb/leds-lp5860-core.c b/drivers/leds/rgb/leds-lp= 5860-core.c index 977741a070d19..28b4d86e11f1a 100644 --- a/drivers/leds/rgb/leds-lp5860-core.c +++ b/drivers/leds/rgb/leds-lp5860-core.c @@ -185,6 +185,7 @@ int lp5860_device_init(struct device *dev) =20 return lp5860_init_dt(lp); } +EXPORT_SYMBOL_GPL(lp5860_device_init); =20 void lp5860_device_remove(struct device *dev) { @@ -192,3 +193,8 @@ void lp5860_device_remove(struct device *dev) =20 lp5860_chip_enable_toggle(lp, LP5860_CHIP_DISABLE); } +EXPORT_SYMBOL_GPL(lp5860_device_remove); + +MODULE_AUTHOR("Steffen Trumtrar "); +MODULE_DESCRIPTION("TI LP5860 RGB LED core driver"); +MODULE_LICENSE("GPL"); diff --git a/drivers/leds/rgb/leds-lp5860-spi.c b/drivers/leds/rgb/leds-lp5= 860-spi.c index d6b8d93c09978..1a35a18f50fde 100644 --- a/drivers/leds/rgb/leds-lp5860-spi.c +++ b/drivers/leds/rgb/leds-lp5860-spi.c @@ -85,5 +85,5 @@ static struct spi_driver lp5860_driver =3D { module_spi_driver(lp5860_driver); =20 MODULE_AUTHOR("Steffen Trumtrar "); -MODULE_DESCRIPTION("TI LP5860 RGB LED driver"); +MODULE_DESCRIPTION("TI LP5860 RGB LED spi driver"); MODULE_LICENSE("GPL"); --=20 2.51.0 From nobody Mon Feb 9 15:24:56 2026 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 B99E625F798 for ; Thu, 29 Jan 2026 09:46:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769679988; cv=none; b=SO6pn833SWd222vLGcxHwjz5b0QluZSqxs6KIAgvcJcf3TaVF6yVXLMhbXyScypf21gTNG5VDB/0R/exUyUyQGCxPoYyiNt6uoZa/sjv1OcCNILDxzna+49UHylLShH06JTLOMH9PnsyPXcteUkKoh+PdKaA+Pp8y1F/DKEIaSY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769679988; c=relaxed/simple; bh=wy3aNi/TX/XbnJPo6AxbyvKB5q6BiMPQ96mPvMg9sMs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=vBPe+8AQOEfKHH4KSmsunAWMP3ei15L4GnckDg2xZ9QglGQX3NIz9ua2F14eMPVpzBS86IUOGQysHgQtLYxTyhNtY7ZZvnwYrkQGV3MW+YtwEGUO989Ql5E+gsXsSXAA9oSv93NXAil/7vWKYpTomlqRpp1ynILLLPMIpVTlpb8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from ptz.office.stw.pengutronix.de ([2a0a:edc0:0:900:1d::77] helo=ratatoskr.trumtrar.info) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1vlObY-0000zg-Af; Thu, 29 Jan 2026 10:46:24 +0100 From: Steffen Trumtrar Date: Thu, 29 Jan 2026 10:45:56 +0100 Subject: [PATCH 2/2] leds: lp5860: Remove useless select 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-Transfer-Encoding: quoted-printable Message-Id: <20260129-v6-19-topic-ti-lp5860-fixes-v1-2-635ab524ebbd@pengutronix.de> References: <20260129-v6-19-topic-ti-lp5860-fixes-v1-0-635ab524ebbd@pengutronix.de> In-Reply-To: <20260129-v6-19-topic-ti-lp5860-fixes-v1-0-635ab524ebbd@pengutronix.de> To: Lee Jones , Pavel Machek Cc: linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, Steffen Trumtrar X-Mailer: b4 0.14.3 X-SA-Exim-Connect-IP: 2a0a:edc0:0:900:1d::77 X-SA-Exim-Mail-From: s.trumtrar@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org The lp5860-core driver selects FW_LOADER and _USER_HELPER. These are not needed, remove them. Signed-off-by: Steffen Trumtrar --- drivers/leds/rgb/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/leds/rgb/Kconfig b/drivers/leds/rgb/Kconfig index d362d15320969..e83f62038be4a 100644 --- a/drivers/leds/rgb/Kconfig +++ b/drivers/leds/rgb/Kconfig @@ -30,8 +30,6 @@ config LEDS_LP5860_CORE tristate "Core Driver for TI LP5860" depends on LEDS_CLASS depends on OF - select FW_LOADER - select FW_LOADER_USER_HELPER select REGMAP help This option supports common operations for LP5860 devices. --=20 2.51.0