From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Nelson Date: Fri, 1 Apr 2016 08:47:42 -0700 Subject: [U-Boot] [PATCH 7/7] gpio: tegra: remove flags parsing in xlate routine In-Reply-To: <1459525662-28032-1-git-send-email-eric@nelint.com> References: <56FD8B60.8060103@nelint.com> <1459525662-28032-1-git-send-email-eric@nelint.com> Message-ID: <1459525662-28032-8-git-send-email-eric@nelint.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de With the addition of GPIO_ACTIVE_LOW parsing in gpio-uclass, it is no longer necessary for the tegra-specific xlate function to do this. Signed-off-by: Eric Nelson --- drivers/gpio/tegra_gpio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpio/tegra_gpio.c b/drivers/gpio/tegra_gpio.c index 5a03115..7ae1509 100644 --- a/drivers/gpio/tegra_gpio.c +++ b/drivers/gpio/tegra_gpio.c @@ -246,7 +246,6 @@ static int tegra_gpio_xlate(struct udevice *dev, struct gpio_desc *desc, if (ret) return ret; desc->offset = gpio % TEGRA_GPIOS_PER_PORT; - desc->flags = args->args[1] & GPIO_ACTIVE_LOW ? GPIOD_ACTIVE_LOW : 0; return 0; } -- 2.6.2