Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1914983yba; Fri, 10 May 2019 03:17:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqxMyegaYLrM3LjZeGUD+GET06gVbfT1WCKmqvz/7ZXlNasw3zxGdTOsJkFe4hqlXuXiS8jk X-Received: by 2002:a65:6656:: with SMTP id z22mr12340956pgv.333.1557483437917; Fri, 10 May 2019 03:17:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557483437; cv=none; d=google.com; s=arc-20160816; b=W0g/NEOAxgaYkUpW31nwbW6UCTkp1PY6JqaSxXZKT9kfCqG1rr/6oIoEaDMMvl46Lh QmqEBXZHAJ5UMY4lTV7XbnttwpVYe8Ghe8FxbdnZJPWtHvt1/FL/N9nBfLU8q0iGQePc tuCBDGX+76t2ljS6rklGUngVnXF6MaLCvJ97gcHwZJhm3N4MpePd6HdbOinuYH7kcTis ZY/NzRqtxcc0KEwOO9pk6kzBh8kFI1TR3iPvIp+ArK6z6tHM1K9KB+6p/5Cxn09h2f8y LojLoOv8NSeuNo2D4BfDVM9zVxPh4vv8glj07a09d6ETPuXy4FklYv+713L5mSf8rfhp MT5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=MA9DqZv2wVVvPaR3kSHR58gL6n2YL6qcCNc1pwmaEJI=; b=ysAc+AwjMLzva4Qs+HHHyJkQSHGjcSjBg71dqFowVaamcTS4935RcNln4YnlfxoA21 pWVFsHg3nqINrye0rzhb5b5xSv7yqG993vcGwUJHtrQaCooBI15XHQ/MJw06a3fXD0Pf Ru1ZSsUpqZRWY0McUQ1M68+SFtRF8nW75vC0/Z7dnm/GtiKO+OG4RjqVxGeZbWMoPEgs pFdgiMEjQLf9ct459yzy6X1RBggqs6B7la/R+clPzZ1iA977crOnBNC7Gq81fNqBzblj XVIOgcPslz7SvAm+PxPdg2EoZNny8XGUUXKOkfOMmtLrkTFGqnA4PsXtaSfgJunCvXt1 Ioag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=TPks0ifD; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v7si6523479pgb.40.2019.05.10.03.17.01; Fri, 10 May 2019 03:17:17 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=TPks0ifD; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727623AbfEJKPv (ORCPT + 99 others); Fri, 10 May 2019 06:15:51 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:38388 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727610AbfEJKPu (ORCPT ); Fri, 10 May 2019 06:15:50 -0400 Received: by mail-ot1-f65.google.com with SMTP id s19so5087283otq.5 for ; Fri, 10 May 2019 03:15:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=MA9DqZv2wVVvPaR3kSHR58gL6n2YL6qcCNc1pwmaEJI=; b=TPks0ifDQZ3nT35liwRF+tK3sNIfDtgokD0iFfFhneEpB8FF7IX0OaTUv51YBB/1My 1kKYy72xwPUB9TmJiQqlsC0TP/b/eUnsoFwhxxW32vyeIlwJFG7UCeJ8CX2br0TEQ5yN eWBzfjJsdtv0ysOFhSH3JKaOsBOdeDRGQB5VK8ahytERyAF65AirML9lBcYPub2SNMhq yBcztr8DgQ0XzE0CIttJ2CC3dnutoyaCMp2WrKYr7VQNzXJ2blF3IiPLkpJqIra14GvO tnNhn6IIQ/0sB2yZt+44koT3ubUI6AzjedfK+HN4LbkI264+jIze8+PFnFX4DQAfLGHU Z14A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=MA9DqZv2wVVvPaR3kSHR58gL6n2YL6qcCNc1pwmaEJI=; b=ekZANWVqIvoyx/SE1nlFScVFfn/1YULCktIDeh+tWFo1zyib24hUlhW+Hia10F7va0 fDVwlJ9KMKTuYVzam7fGYZiuvvISSjI9l8b3Mn+qCz9G1E9It071mK0V7a47DIYFa738 xSQJ7xaaXTpw2mJN/UVmvu3cXemgOhaAfvaTt1Z3xt0vbiXM6SH72NKTnof8rlUuHm5u PcEdXYO2ei+CwURoJZeSH2wlxJ4XmLIORdSZo7+f7oASC33WjLSQ+VFqyhwTXdLsNRss lhN8yXjatNrzqn6RX6n9pYGbKc2wfBaGrW5V/+gB7v3kdQjC1KBUmk+/tnyLTX+qYDm/ Y6PQ== X-Gm-Message-State: APjAAAWwUy9OpvM2qYQNgLFElB0wYBBZcbGg+nEQtQFhiMPFnpeRQG5O GbFvFvjKpgROn2M0LifRs+YHkll/B/h6O/xzM8uJXA== X-Received: by 2002:a05:6830:20c4:: with SMTP id z4mr5843008otq.27.1557483349137; Fri, 10 May 2019 03:15:49 -0700 (PDT) MIME-Version: 1.0 References: <20190510090339.17211-1-luca@lucaceresoli.net> In-Reply-To: <20190510090339.17211-1-luca@lucaceresoli.net> From: Bartosz Golaszewski Date: Fri, 10 May 2019 12:15:38 +0200 Message-ID: Subject: Re: [PATCH] Documentation: gpio: remove duplicated lines To: Luca Ceresoli Cc: linux-gpio , Linus Walleij , Jonathan Corbet , LKML , linux-doc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org pt., 10 maj 2019 o 11:03 Luca Ceresoli napisa=C5=82= (a): > > The 'default (active high)' lines are repeated twice. Avoid people stare = at > their screens looking for differences. > > Signed-off-by: Luca Ceresoli > --- > Documentation/driver-api/gpio/consumer.rst | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/Documentation/driver-api/gpio/consumer.rst b/Documentation/d= river-api/gpio/consumer.rst > index 5e4d8aa68913..23d68c321c5c 100644 > --- a/Documentation/driver-api/gpio/consumer.rst > +++ b/Documentation/driver-api/gpio/consumer.rst > @@ -283,8 +283,6 @@ To summarize:: > gpiod_set_value(desc, 1); default (active high) high > gpiod_set_value(desc, 0); active low high > gpiod_set_value(desc, 1); active low low > - gpiod_set_value(desc, 0); default (active high) low > - gpiod_set_value(desc, 1); default (active high) high > gpiod_set_value(desc, 0); open drain low > gpiod_set_value(desc, 1); open drain high impedan= ce > gpiod_set_value(desc, 0); open source high impedan= ce > -- > 2.21.0 > Reviewed-by: Bartosz Golaszewski