[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140716184330.GC6438@earth.universe>
Date: Wed, 16 Jul 2014 20:43:30 +0200
From: Sebastian Reichel <sre@...nel.org>
To: Linus Walleij <linus.walleij@...aro.org>
Cc: Dmitry Eremin-Solenikov <dbaryshkov@...il.com>,
linux-kernel@...r.kernel.org,
David Woodhouse <dwmw2@...radead.org>,
Alexandre Courbot <acourbot@...dia.com>
Subject: Re: [PATCH v2] power: poweroff: gpio: convert to use descriptors
Hi,
On Mon, Jul 07, 2014 at 12:34:32PM +0200, Linus Walleij wrote:
> This switches the GPIO poweroff driver to use GPIO descriptors
> rather than numeral GPIOs. We get rid of the specific inversion
> handling as GPIO descriptors know if they are active low or
> high and can assert the line properly, so we do not need to
> check the flag OF_GPIO_ACTIVE_LOW returned from the old call
> of_get_gpio_flags() anymore.
>
> Also convert to use managed resources and use dev_* message
> printing while we're at it.
I added this patch to [0], which I use to queue patches until I get
access to battery.git.
[0] https://git.kernel.org/cgit/linux/kernel/git/sre/linux-power-supply.git/commit/?h=dev&id=81324804b10c775fc328dbd417114791aa01d5e1
-- Sebastian
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists