From: Peng Fan Date: Thu, 13 Apr 2017 06:09:56 +0000 (+0800) Subject: gpio: 74x164: make oe-pins optional X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=aab203eb2e0d76fedc0280403edf8ed79b630e89;p=project%2Fbcm63xx%2Fu-boot.git gpio: 74x164: make oe-pins optional Make oe-pins optional because some boards have fixed it to enable. Signed-off-by: Peng Fan Cc: Simon Glass Cc: Stefano Babic Reviewed-by: Simon Glass --- diff --git a/drivers/gpio/74x164_gpio.c b/drivers/gpio/74x164_gpio.c index 750eedfffd..53a639ae65 100644 --- a/drivers/gpio/74x164_gpio.c +++ b/drivers/gpio/74x164_gpio.c @@ -156,8 +156,7 @@ static int gen_74x164_probe(struct udevice *dev) ret = gpio_request_by_name(dev, "oe-gpios", 0, &priv->oe, GPIOD_IS_OUT | GPIOD_IS_OUT_ACTIVE); if (ret) { - dev_err(dev, "No oe-pins property\n"); - goto free_buf; + dev_dbg(dev, "No oe-pins property\n"); } uc_priv->bank_name = str;