From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754634AbeDPJLP (ORCPT ); Mon, 16 Apr 2018 05:11:15 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:43678 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754635AbeDPJLL (ORCPT ); Mon, 16 Apr 2018 05:11:11 -0400 X-Google-Smtp-Source: AIpwx49+9neGEqjLfiHyLsxiJbHrikkBbrBUWw+IibeJRZv9wiJ/RYE9PQSQKvcQGdMaUg0ewvMPew== Date: Mon, 16 Apr 2018 10:11:06 +0100 From: Lee Jones To: Wolfram Sang Cc: linux-gpio@vger.kernel.org, linux-renesas-soc@vger.kernel.org, Thierry Reding , Daniel Thompson , Jingoo Han , Bartlomiej Zolnierkiewicz , linux-pwm@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] backlight: pwm_bl: don't use GPIOF_* with gpiod_get_direction Message-ID: <20180416091106.lg7nesbqvfeehuzq@dell> References: <20180114210711.13863-1-wsa+renesas@sang-engineering.com> <20180114210711.13863-4-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180114210711.13863-4-wsa+renesas@sang-engineering.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 14 Jan 2018, Wolfram Sang wrote: > The documentation was wrong, gpiod_get_direction() returns 0/1 instead > of the GPIOF_* flags. The docs were fixed with commit 94fc73094abe47 > ("gpio: correct docs about return value of gpiod_get_direction"). Now, > fix this user (until a better, system-wide solution is in place). > > Signed-off-by: Wolfram Sang > --- > Only build tested! > > drivers/video/backlight/pwm_bl.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Applied with Daniel and Simon's Acks. -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog