From: Jacek Anaszewski Subject: Re: [PATCH V2 1/2] leds: core: add OF variants of LED registering functions Date: Tue, 7 Mar 2017 20:30:42 +0100 Message-ID: <8b220e23-f138-55ff-67c5-26520328c9b3@gmail.com> References: <20170306051945.14857-1-zajec5@gmail.com> <20170307120547.GA2740@amd> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from mail-wr0-f196.google.com ([209.85.128.196]:32774 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756051AbdCGT7K (ORCPT ); Tue, 7 Mar 2017 14:59:10 -0500 Received: by mail-wr0-f196.google.com with SMTP id g10so1586661wrg.0 for ; Tue, 07 Mar 2017 11:59:09 -0800 (PST) In-Reply-To: <20170307120547.GA2740@amd> Sender: linux-leds-owner@vger.kernel.org List-Id: linux-leds@vger.kernel.org To: Pavel Machek , =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Cc: Richard Purdie , linux-leds@vger.kernel.org, =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= On 03/07/2017 01:05 PM, Pavel Machek wrote: > On Mon 2017-03-06 06:19:44, Rafał Miłecki wrote: >> From: Rafał Miłecki >> >> These new functions allow passing an additional device_node argument >> that will be internally set for created LED device. Thanks to this LED >> core code and triggers will be able to access DT node for reading extra >> info. >> >> The easiest solution for achieving this was reworking old functions to >> more generic ones & adding simple defines for API compatibility. >> >> Signed-off-by: Rafał Miłecki > > Both patches: Acked-by: Pavel Machek Applied, thanks. -- Best regards, Jacek Anaszewski