Received: by 10.192.165.156 with SMTP id m28csp408897imm; Mon, 16 Apr 2018 02:14:06 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/K5ziPhWJjT5A2GLW0XDI3LAJ+PhVlzsdGox5GD63jGhUTa2WU8HfqVVITKHaW8e5pYpcm X-Received: by 2002:a17:902:788b:: with SMTP id q11-v6mr782415pll.76.1523870046250; Mon, 16 Apr 2018 02:14:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523870046; cv=none; d=google.com; s=arc-20160816; b=dUY/mqC4FyzpUXUgYqfF1IxQ2n2ZimSn+iiFRzzYbliOOyKGQc49dT6Krjnw7ko6T7 YqxIPrvQVRT/s4HNUm++32d/kLtByg6pekea9OgjNbhgH+Vqb9zwAFFYN4wocp2KyNvl 1x0a5ov/SW4dY4n3LkV/h5LQbc5U5hmNlX0E94o6WPCBSkQi88QokbzoKRabpf1ic2r0 SpqV+ZlrYlEwwh7mVIEPIWvjPXbd1rt6stpoSu/9lIxABLWos1EygcDFi34cugM/VbZv VsoTVIRFC1T8Qr2MavTDWDWMB/GCGzT7y0vABWn4E71p50T7y5k6O+DxJzDCfPhCmXSY KbaQ== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=V0f0yuqKOAPKEC6uF0xdlu8BWNxKjEuDIwtcZGXpcok=; b=FbOs/9fGTYFLm+KCWIk06nFCQ6B5tkgyK6YsWMrsWVNsbxLWnwXwIg5sWNCf/uO+/r B4PfzILH+laObZcEfNWpUp29MQqiWdI27liBKp5c/qNEBuK77s7xVrb+BkazT6Q5IMR8 ODd1QdODrpHhNnHXzB54obNxNJHksVhmtWoWLeIaL6MqO/H8s7owbI6TngG1/trY+2Pb g1zT4eq6nPYXAZyzKt8KzxV8V3sYoYri5ZesqWtMQzTpAvq+a4CsUz9Vfwr08CBlkmTi GeH2/zwYfzU3mnBaVafgbhLFB2DAcVsNjUNtEBbq3Frx+Po8aEy0AHP/afu2JLHKbWCp MG+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XhAMM5xa; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r13si10581781pfe.127.2018.04.16.02.13.52; Mon, 16 Apr 2018 02:14:06 -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; dkim=pass header.i=@linaro.org header.s=google header.b=XhAMM5xa; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754651AbeDPJLP (ORCPT + 99 others); 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 Received: by mail-wr0-f195.google.com with SMTP id y7so23777914wrh.10 for ; Mon, 16 Apr 2018 02:11:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=V0f0yuqKOAPKEC6uF0xdlu8BWNxKjEuDIwtcZGXpcok=; b=XhAMM5xayGL9LqbSfEv/IGU1F/8du98f/gdUQlN01E5gxQY6ReWXu9kgAdPGcUwoa5 rq5TTa8Y5VM63+BJDIcnLPaTnsfHBIfMpj2ZWgwYjSdwLezmnhmCeZL3AtWxh+jxdWnf oyfKyJGNi4R/eCKrKkca2RswMSYF3QjUyEzB0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=V0f0yuqKOAPKEC6uF0xdlu8BWNxKjEuDIwtcZGXpcok=; b=lcGk+80B4M4f8WRIxvBtnglLyPHZCh/qaXRHb2NeZJDNkyZjgmedutMrexdoJTDrTl YA29NrjlifsVQBCXuMVaWLel5EBWpe133Jkod7auYhjnVnI9/pRkXvJPjV4/YA0v0KwW jZwG+ogf9UzVlepvZM5biXfeLAQ+8G+jFanK5CDF5ugOvcB+f/omXZkDhPb0EmO0x3Sy x5xOnCeNYpTPgPwqiFvyAo+Q/vgXxP7qCJom5yHY8Ks6fVbzvRG5dKi9oWauDaY/WxjW vvJ5y+IG0UQSP/o9488Ucsxt09KplmQbYlLiwWHJKVBn5pPzXEYFaZzC/2U+7LLSiueK Qotg== X-Gm-Message-State: ALQs6tDsod9i4C/M/Ju0W9dTA0QFcKPXD+iqrmhAl0i6oPDNsG0qXMsB S/fdsB7umALmFr1HR1VfSDh/Nw== X-Received: by 10.28.131.211 with SMTP id f202mr10130583wmd.20.1523869869901; Mon, 16 Apr 2018 02:11:09 -0700 (PDT) Received: from dell ([2.27.167.70]) by smtp.gmail.com with ESMTPSA id a24sm18863173wra.4.2018.04.16.02.11.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Apr 2018 02:11:08 -0700 (PDT) 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 Precedence: bulk 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