Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp9546611ybi; Wed, 10 Jul 2019 12:11:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqw+WbwbWbwTvLnu0x6asfMYc/LZmfDNoj57P/n/ECSfZo/eSI/SNlNJ5Z7LsDfGrtbRFZNl X-Received: by 2002:a63:3ec7:: with SMTP id l190mr39945418pga.334.1562785912702; Wed, 10 Jul 2019 12:11:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562785912; cv=none; d=google.com; s=arc-20160816; b=sTrkz1/ocNqEBJSqoidEyx8CpTTcXAcv36/QoyF2qbGef7YG2NTlYXeCDgXK9CrWKp 231hnNLJHpzDuwTcaP8vY2T0yDnU02VgMeCkqymP8enZY3yyLJ/nY1Gj//H4y+G1qGnS Ikh9DwZve9rb956C0G4cTwvObl0alKMaJPu79zVGzI2MrwoNXdoMw5QTLP2xJb8YtDPg huWs05UiUln26TFznIVuc+bVOu1Pa9gLnWJXnWpKegvtES5WwIE4iB/qJxJsTgteK2oL N4QGU++FCRTim7ZNqz8kCiann8iG187thuBp6zL+2yHhZ4YzlWfmuMSY6+GYvOOEd8bg 0pMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=dtzgetFYQ0VuFbarDeXcbkjLNWH9XC4aFNiMcFUoWoM=; b=0khyuBLWMFyrURXtDlNte0D06ZHDI70zYyJ+OEArV1gpSLFXrZG/FUm3XkEIpMD+Ni 8zEdrH/mFvFCu50QLcG38kYJqr5dSt9GRhoS1nfNMhvpO9SKZ62RbOdxQIrd7KxS/UVv SHY0Ejg0SYNMXkoIMEEToxaxQZ412v+M+eQ6W7FUWWDFQiUV/3QLUaPycZU99NhNMDxr PKvodfpOvjcXZ8+02rhN/5U6A/lg8dRoI8GWF5dSGSdpLMYkRDIS2KgpZqm+zVr9shRt vTQ0UfvhQCmIJxmeuxrmU5uoLHSApbLIkgxfR8NT61lJADFn6J7OyuJil3yflONYY8mV pCAw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q185si2843409pga.565.2019.07.10.12.11.37; Wed, 10 Jul 2019 12:11:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728144AbfGJTLD (ORCPT + 99 others); Wed, 10 Jul 2019 15:11:03 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:47242 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727612AbfGJTLC (ORCPT ); Wed, 10 Jul 2019 15:11:02 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id CE8F0805CD; Wed, 10 Jul 2019 21:10:49 +0200 (CEST) Date: Wed, 10 Jul 2019 21:11:00 +0200 From: Pavel Machek To: Jean-Jacques Hiblot Cc: jacek.anaszewski@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, lee.jones@linaro.org, daniel.thompson@linaro.org, jingoohan1@gmail.com, dmurphy@ti.com, linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, tomi.valkeinen@ti.com Subject: Re: [PATCH v3 2/4] leds: Add managed API to get a LED from a device driver Message-ID: <20190710191100.GB22995@amd> References: <20190710123932.28244-1-jjhiblot@ti.com> <20190710123932.28244-3-jjhiblot@ti.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IiVenqGWf+H9Y6IX" Content-Disposition: inline In-Reply-To: <20190710123932.28244-3-jjhiblot@ti.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --IiVenqGWf+H9Y6IX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed 2019-07-10 14:39:30, Jean-Jacques Hiblot wrote: > If the LED is acquired by a consumer device with devm_led_get(), it is > automatically release when the device is detach. released, detached. Acked-by: Pavel Machek Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --IiVenqGWf+H9Y6IX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl0mOEQACgkQMOfwapXb+vKPwQCfbNPhMlYP0u1y6gxsoXzLiPWR 16kAnRxjJGGmNwbOB2HyyJgm4cwt7X/F =gTig -----END PGP SIGNATURE----- --IiVenqGWf+H9Y6IX--