[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <549060B9.6060506@imgtec.com>
Date: Tue, 16 Dec 2014 16:41:29 +0000
From: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@...tec.com>
To: <davem@...emloft.net>
CC: <devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<netdev@...r.kernel.org>, <paul.burton@...tec.com>
Subject: Re: [PATCH] dm9000: Add regulator and reset support to dm9000
On 16/12/14 16:33, Zubair Lutfullah Kakakhel wrote:
...
> +
> + power = devm_regulator_get(dev, "vcc");
> + if (IS_ERR(power)) {
> + dev_dbg(dev, "no regulator provided\n");
> + } else if (!regulator_is_enabled(power)) {
> + ret = regulator_enable(power);
> + dev_dgb(dev, "regulator enabled\n");
^dev_dbg
Apologies. This fix wasn't squashed in. I'll resend.
> + }
> +
> + reset_gpio = of_get_named_gpio_flags(dev->of_node, "reset-gpio", 0,
> + &flags);
ZubairLK
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists