Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751753AbdHAIUh (ORCPT ); Tue, 1 Aug 2017 04:20:37 -0400 Received: from mail-it0-f45.google.com ([209.85.214.45]:36508 "EHLO mail-it0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751008AbdHAIUe (ORCPT ); Tue, 1 Aug 2017 04:20:34 -0400 MIME-Version: 1.0 In-Reply-To: <20170530114822.24308-1-linus.walleij@linaro.org> References: <20170530114822.24308-1-linus.walleij@linaro.org> From: Linus Walleij Date: Tue, 1 Aug 2017 10:20:32 +0200 Message-ID: Subject: Re: [PATCH 1/2 v2] backlight: gpio: Convert to use GPIO descriptor To: Lee Jones , Daniel Thompson , Jingoo Han , "linux-kernel@vger.kernel.org" Cc: Laurent Pinchart , Linus Walleij Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 784 Lines: 23 On Tue, May 30, 2017 at 1:48 PM, Linus Walleij wrote: > This driver is predominantly used by device tree systems, all > of which can deal with modern GPIO descriptors. The legacy > GPIO API is only used by one SH board so make the GPIO > descriptor the default way to deal with it. > > As an intended side effect we do not need to look around in > the device tree for the inversion flag since the GPIO > descriptors will intrinsically deal with this. > > Acked-by: Daniel Thompson > Signed-off-by: Linus Walleij > --- > ChangeLog v1->v2: > - Assign flags value using the ternary operator. This patch seems to have been inadvertedly dropped? Can it be applied, along with 2/2? Yours, Linus Walleij