Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1573417pxu; Thu, 17 Dec 2020 13:15:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJyls2rhl37Xn8X/dQDZzn4m+Y0/Q0dJCsQkoGx+Mk9g/7CRejSIdmj6ModG065ppPrhu3Av X-Received: by 2002:a17:907:373:: with SMTP id rs19mr938007ejb.298.1608239741719; Thu, 17 Dec 2020 13:15:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608239741; cv=none; d=google.com; s=arc-20160816; b=zMAtGQ6fABgiI0I7dHS7ad5ixo7G5SosH7g/V+y5r+ka7omSphouzSuMcevubTLLD9 7SO1BVWY8FKBWLmhc+2oSRwdBOQP5G0DvJZOslkBPA+KfODmmmQlSSp9hC2iYqQd9SF0 k3lu7bfHMXs4JxPYIztUHB0/WIj7wZkINw9fdzAsZzV5Cl2ipa7rzysGU9bfMPOkfTDB yPmZlcSokAF1fR7Qc5V2LlcgRKynvlOESi1RdGJL9fn9y7Mh17vTv3Emv6aLq+ig9kNM n/iMQ0vHoxHAdYCmvagWpqCIp7WaV5sxhEGd1rD3F8Ca2jfR08QsxnPb2zh6cPhkm9T0 tPdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=1J4Kwr+YRm0SyAyuVQY/fneuv9PILIrSwsBUwVs12ME=; b=NLQURH2jNvp2wj3iA88wve3XFW15BUFdDUZqyAOeIDE4say0TRIHOR3nkzOk5z32qS 4L4C+omUgYE85FomlmnFZUPE5NMM7ZP5L6xTgs2z26yt7BTfmX2l+e3TIR60TGNGAE8O iBeS7Lr+HFfK2McR2R17f6udB6Xl5Bmh2BLA6NnIeqkveFpjuTFOx06d+zVOqWWeqwP6 5wFqRGCRPI+JRU92Dq6ycNxPsD54jXYzHKHbdnENAW9h66BdFw9+tIxoqwn38hoy3jMo FFEjTlEHvsM+kIHbyinhC9jGnyuqntvlLYNaOv4kyi+keHcJ95ii6u53ki461HGtxoQV qmuw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bk12si127595ejb.298.2020.12.17.13.15.18; Thu, 17 Dec 2020 13:15:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731495AbgLQVOE (ORCPT + 99 others); Thu, 17 Dec 2020 16:14:04 -0500 Received: from jabberwock.ucw.cz ([46.255.230.98]:46018 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727106AbgLQVOD (ORCPT ); Thu, 17 Dec 2020 16:14:03 -0500 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 647A21C0B7D; Thu, 17 Dec 2020 22:13:20 +0100 (CET) Date: Thu, 17 Dec 2020 22:13:20 +0100 From: Pavel Machek To: Tian Tao Cc: dmurphy@ti.com, linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] leds: lm3533: Switch to using the new API kobj_to_dev() Message-ID: <20201217211320.GC28574@duo.ucw.cz> References: <1606699168-49894-1-git-send-email-tiantao6@hisilicon.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PuGuTyElPB9bOcsM" Content-Disposition: inline In-Reply-To: <1606699168-49894-1-git-send-email-tiantao6@hisilicon.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --PuGuTyElPB9bOcsM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon 2020-11-30 09:19:28, Tian Tao wrote: > fixed the following coccicheck: > drivers/leds/leds-lm3533.c:611:60-61: WARNING opportunity for kobj_to_dev= (). >=20 > Signed-off-by: Tian Tao Thanks, applied. Pavel --=20 http://www.livejournal.com/~pavelmachek --PuGuTyElPB9bOcsM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRPfPO7r0eAhk010v0w5/Bqldv68gUCX9vJ8AAKCRAw5/Bqldv6 8l3cAJ0ewF5zwnc6+SRno7L5YJKqITs/8QCfTFLOmvph6YadrkTgtwOUrHHaGL4= =OTT5 -----END PGP SIGNATURE----- --PuGuTyElPB9bOcsM--