🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #4767

Re: [PATCH 3/3] leds: add Realtek RTL9300 port LED driver

#4767
From: Uwe Kleine-König
Date: Mon, 19 Oct 2026 07:01
39 lines
9641 bytes
--nxjchq4abhvsnp6i
Content-Type: text/plain; protected-headers=v1; charset=us-ascii
Content-Disposition: inline
Subject: Re: [PATCH 3/3] leds: add Realtek RTL9300 port LED driver
MIME-Version: 1.0

Hello Ross,

On Sun, Oct 18, 2026 at 12:43:38PM -0700, Ross Cawston wrote:
> +#include <linux/mod_devicetable.h>
> [...]
> +#include <linux/platform_device.h>

Please don't include <linux/mod_devicetable.h> which pulls in a big
bunch of dependencies on subsystems not used in your driver.
<linux/platform_device.h> already provides of_device_id so you can just
drop the former.

Best regards
Uwe

--nxjchq4abhvsnp6i
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmrVwDIACgkQj4D7WH0S
/k4jrAf/da4fouhkXJC88m375WuCC2zmp7feudZpUHTGrjpPVuXOGtGEQGIvfq0q
pCd5kfrkD6R2nAVU02XiHIf6z9KbVLfbNaXojWbu0NdKBpCvyUMEJ3C+QZtXSXZX
qG+en94XPUEproDiPCzMnTCEjwPK9ZGBVPezOSTj2EiG83ehP6Y91UVRf9X4z/qb
qHVHfNszS2ZHEOYgkDU9vi4ouTTg7XybRC8+ikJXmYJIkqMG3WP6HXRHADnr6mVO
CaTbrr7SvLdlO5lEfKp2E6GEpfgwDCwMR/GeIHXL2qj7KO85kycsjOk20ZcuMzUw
3qudAVQ2eBldeyhG8SHT4ndWZyFrJg==
=+WSr
-----END PGP SIGNATURE-----

--nxjchq4abhvsnp6i--
Technical Details
Message-ID: <atW_3bhMg0vsHtNe@monoceros>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-348321-linux-kernel-netdev=dewy.ru
References: <20261018194339.132-1-ross@r-sc.ca> <20261018194339.132-4-ross@r-sc.ca>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-348321-linux-kernel-netdev=dewy.ru
From: u.kleine-koenig@baylibre.com (Uwe Kleine-König)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH 3/3] leds: add Realtek RTL9300 port LED driver
Date: Mon, 19 Oct 2026 09:01:09 +0200
Organization: Usenet Network
Message-ID: <atW_3bhMg0vsHtNe@monoceros>
References: <20261018194339.132-1-ross@r-sc.ca>
 <20261018194339.132-4-ross@r-sc.ca>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="nxjchq4abhvsnp6i"
Injection-Info: usenet.network;
	logging-data="3532080"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:e3NMrPPSIYiRWB+vWEfe/UNyyC0= sha256:XwNC3LJb539d6yfBeSggrP4YzWPMCnD8OvWVwgUGxW8=
	sha1:mFvruGEgVjNS1Sc4U3r0DUeMXLA= sha256:8V+inPq2OZ8NbltexSUU6IFxlxj0dyvJuG6gm8KtA38=
Content-Disposition: inline
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 310FA110937; Mon, 19 Oct 2026 10:01:41 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.051
X-Spam-Status: No, score=-3.051 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=baylibre.com
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id JadPXOEeDhET;
	Mon, 19 Oct 2026 10:01:38 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-348321-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=baylibre.com
X-Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id 5F5D511092C; Mon, 19 Oct 2026 10:01:29 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by sin.lore.kernel.org (Postfix) with ESMTP id 2F97329067; Mon, 19 Oct 2026 07:01:16 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 3AB98485514;
	Mon, 19 Oct 2026 07:01:15 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b="WFaGix46"
X-Received: from mail-ed1-f49.google.com (mail-ed1-f49.google.com [209.85.208.49])
	(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 B1AF247D450
	for <netdev@vger.kernel.org>; Mon, 19 Oct 2026 07:01:13 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.49
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1792393275; cv=none; b=RHQTVCpouJCOuIrRnsa81HyXe04gBQPDrm7nBx91SprykYjcam0TXy09FnNIOQIVUps9xHhc85OP6ITWDpJBAZUEBfg20lcytpvvSrqMZgPnbkz+NNItuV2jTm4xXA2Xi0IupjEaemq1zlmjp0qOVhwQv0qEGK4fTJ9oPOXCovE=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1792393275; c=relaxed/simple;
	bh=oZ0gokOtvvho1vQAI82v7ekdmMpczVsPguujZbX7mtk=;
	h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:
	 Content-Type:Content-Disposition:In-Reply-To; b=J1XeoYBiQNTnJWA6POTuayci+P7r9mRWUYEGx6uEFjYNpfXKxV4m65g7mfbCJhca6PnFS7kj678H4k4Aa65DVdthl7mYcaLWCgke06cz1HozBsPsq9hObEAFWi267mCy7lUnFQnM+LhyZN8tl3Z5sTJgPFxXXeks06pacJXQ0Vo=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre.com header.i=@baylibre.com header.b=WFaGix46; arc=none smtp.client-ip=209.85.208.49
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com
X-Received: by mail-ed1-f49.google.com with SMTP id 4fb4d7f45d1cf-6af8620a7d2so2036757a12.0
        for <netdev@vger.kernel.org>; Mon, 19 Oct 2026 00:01:13 -0700 (PDT)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=baylibre.com; s=google; t=1792393272; x=1792998072; darn=vger.kernel.org;
        h=in-reply-to:content-disposition:content-type:mime-version
         :references:message-id:subject:cc:to:from:date:from:to:cc:subject
         :date:message-id:reply-to:content-type;
        bh=oZ0gokOtvvho1vQAI82v7ekdmMpczVsPguujZbX7mtk=;
        b=WFaGix46Lz1n08JyZmgqDocAeYq2pXOmMZHkbQoXwjpSt15IC137n35bfYVWI6CMl5
         rBE66V6Wx6ENL01C5x4KzDwSOv2iEeQ6RQ6/eOWK2N8c+mTyM0IbrSzAI9gFQd6SLupE
         UU23CzjQ3WUM6OY6tQEkf1ssY7qZDux+uZXHTZVvyNR/Ea8h18Kw+/ARQ8pSb1zOS8Rv
         hZ0BSrovjFNCh/nUNrgjgN5YXabJj+4PtJ13maD5yqRbRrQlKXoa5XaoXgYXOdvsmKyF
         YjFl49AHjtC+DEbmJNHRZe7iQVdFFTWgHu0U1nrCfKDNVAsqyP2BkUSxoonzhJsmcNQ6
         zRkA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1792393272; x=1792998072;
        h=in-reply-to:content-disposition:content-type:mime-version
         :references:message-id:subject:cc:to:from:date:x-gm-gg
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
         :content-type;
        bh=oZ0gokOtvvho1vQAI82v7ekdmMpczVsPguujZbX7mtk=;
        b=Hjy3DqjpOmV7Y3MPqVxeOAuAREQcKJ0IR6PvLEyp1lkBXzh9T/xdSFt5RECOdQRr+J
         EktFIxxAmxOJ+vpkpXB4vIDYLGNJcxugbzCE72KIkX5uA0aPx9rYnlvcQSVEuleDn2jm
         AW3/EbGI1Uz0f15rAkI6E4tEER0/CJhEs5DCo8FHZDTcXgsUSy1tPmGYr62j7nWWXzAJ
         yTuXJ6VBwzt0ubW5rGjDcUR8P6qXuFbAcrn4v3P4RGAvovrdBLj3QBsoCya/dTNwpOpY
         D6kD6qMXi4ps0FxoeDhJlcsBei+I2i7f+mtNl9P4Sa5XR+nQS5QY2A416IqM7JCMwfpA
         aAog==
X-Forwarded-Encrypted: i=1; AKwUvBwsBM5+TbOSRWDnQEmxvRcNyLNJRWOOhXQUrMsih4pOpagNwS7AHzP8348SwsjyL9WyRR8nHsA=@vger.kernel.org
X-Gm-Message-State: AFq9FYJPQSyYjXCZUmSoDKtiZHd43r8vccPB6IQjzaYh0eC6XOGoinMJ
	yxsKDDT6j3z8h1fRHD2s6m5JelnfurnC0UKZywGKxOL52PwDbZXlAz74JkA44cYibyw=
X-Gm-Gg: AYBFou0uR74kWfqvzHPO3vk8l2z7i4oj170SET2jDI3gzy1Htm/AbGQHOX5Ic/vLV2p
	z0yOsYJtyS3eTdQpjjkxHkPAmCe/QwQZwWKouUI9d1XWlWC4QMAJSukotpgfREMxic79ZAgXCuO
	YEVWWdMuXwkxL3WWmPnc/JcxZsRL/vU15fw3XubRp2EUj4amyZj6i41rgt2/MiChF6xgREoJTgJ
	8A76cAOU/d6DBPt4qQkXmeR3pteXA+GVfmoUU9kXWj2StrVEc7vF+wJppzd+sAjBXeecRi4FwST
	okfmOtptdKI1XoGR2sLhc66O30zMg0p8A5Ym3PBAG1n/u6NNsde7BhnWwb5tqCeCAVApOj+Pi7S
	XkOrZMBxkcZAU1Scjs6jzdiIUIF3F37WevCUs7TU0+sHI91mRXBfEdBYEoHmCXjGWiuwiey49KJ
	1C9itXYVUSklA0anDBkApVd3Z10G9XR9c5vERs8jR5FvTeYmRnCvpAowx4dNW12t1fySdFzP1zH
	DcwTxn1hk+f54+VANCxbinA3FxFoXM6gMDmDD1x+YelkCLm7noRqcKEsNm79g==
X-Received: by 2002:a05:6402:325c:b0:6ac:6fd3:1e97 with SMTP id 4fb4d7f45d1cf-6b3a8198b00mr3033569a12.35.1792393271655;
        Mon, 19 Oct 2026 00:01:11 -0700 (PDT)
X-Received: from localhost (p200300f65f19a9041674bacf58593a35.dip0.t-ipconnect.de. [2003:f6:5f19:a904:1674:bacf:5859:3a35])
        by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-48dfd4e7ff1sm22693440f8f.25.2026.10.19.00.01.10
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Mon, 19 Oct 2026 00:01:10 -0700 (PDT)
X-Cc: lee@kernel.org, pavel@kernel.org, robh@kernel.org, krzk+dt@kernel.org, 
	conor+dt@kernel.org, chris.packham@alliedtelesis.co.nz, andrew+netdev@lunn.ch, 
	davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, 
	linux-leds@vger.kernel.org, devicetree@vger.kernel.org, netdev@vger.kernel.org, 
	linux-kernel@vger.kernel.org
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-In-Reply-To: <20261018194339.132-4-ross@r-sc.ca>