All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Courbot <acourbot@nvidia.com>
To: Linus Walleij <linus.walleij@linaro.org>,
	"linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>
Subject: Re: [PATCH] gpio/pinctrl: make gpio_chip members typed boolean
Date: Thu, 5 Dec 2013 10:21:16 +0900	[thread overview]
Message-ID: <529FD50C.8050002@nvidia.com> (raw)
In-Reply-To: <1386164723-31773-1-git-send-email-linus.walleij@linaro.org>

On 12/04/2013 10:45 PM, Linus Walleij wrote:
> This switches the two members of struct gpio_chip that were
> defined as unsigned foo:1 to bool, because that is indeed what
> they are. Switch all users in the gpio and pinctrl subsystems
> to assign these values with true/false instead of 0/1. The
> users outside these subsystems will survive since true/false
> is 1/0, atleast we set some kind of more strict typing example.
>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

Acked-by: Alexandre Courbot <acourbot@nvidia.com>


      reply	other threads:[~2013-12-05  1:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-04 13:45 [PATCH] gpio/pinctrl: make gpio_chip members typed boolean Linus Walleij
2013-12-05  1:21 ` Alex Courbot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=529FD50C.8050002@nvidia.com \
    --to=acourbot@nvidia.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.