From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754591AbdK2L3T (ORCPT ); Wed, 29 Nov 2017 06:29:19 -0500 Received: from mail-wm0-f65.google.com ([74.125.82.65]:46616 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754566AbdK2L3R (ORCPT ); Wed, 29 Nov 2017 06:29:17 -0500 X-Google-Smtp-Source: AGs4zMY5LWptcmKn8PAqFZUG4Dpb+lTmhXELPW005aWRAB5ZKUZssOE6ZBCDsihOzpjJS2Fa23y6zg== Date: Wed, 29 Nov 2017 11:29:13 +0000 From: Lee Jones To: Johan Hovold Cc: Daniel Thompson , Jingoo Han , Bartlomiej Zolnierkiewicz , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, stable , Matthias Kaehlcke Subject: Re: [PATCH v2 3/4] backlight: tps65217_bl: fix device-tree node lookup Message-ID: <20171129112913.i6vf5skpkroisbbh@dell> References: <20171120104547.2639-1-johan@kernel.org> <20171120104547.2639-4-johan@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20171120104547.2639-4-johan@kernel.org> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 20 Nov 2017, Johan Hovold wrote: > Fix child-node lookup during probe, which ended up searching the whole > device tree depth-first starting at the parent rather than just matching > on its children. > > This would only cause trouble if the child node is missing while there > is an unrelated node named "backlight" elsewhere in the tree. > > Fixes: eebfdc17cc6c ("backlight: Add TPS65217 WLED driver") > Cc: stable # 3.7 > Cc: Matthias Kaehlcke > Signed-off-by: Johan Hovold > --- > drivers/video/backlight/tps65217_bl.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied, thanks. -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog