Re: [PATCH v2 1/4] regulator: Add ena_gpio_initialized to regulator_config

From: Mark Brown
Date: Mon Oct 13 2014 - 10:49:40 EST


On Wed, Oct 08, 2014 at 03:47:05PM +0200, Markus Pargmann wrote:
> Most drivers do not set the ena_gpio field of struct regulator_config
> before passing it to the regulator core. This is fine as long as the
> gpio identifier that is passed is a positive integer. But the gpio
> identifier 0 is also valid. So we are not able to decide wether we got a
> real gpio identifier or not based on a 0 in ena_gpio.

Applied, thanks.

Attachment: signature.asc
Description: Digital signature