[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdZN3CzK2dTSijQtUgahHCfijBGbg6ziJYMJeh=4ngm8aQ@mail.gmail.com>
Date: Tue, 23 Sep 2014 16:45:52 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Pramod Gurav <pramod.gurav@...rtplayin.com>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Jean-Christophe Plagniol-Villard <plagnioj@...osoft.com>
Subject: Re: [PATCH v2 1/2] pinctrl: at91: Fix failure path in at91_gpio_probe path
On Tue, Sep 9, 2014 at 12:20 PM, Pramod Gurav
<pramod.gurav@...rtplayin.com> wrote:
> This fixes the whole error handling in probe function by capturing and
> returning error values on kernel function like clk_prepare,
> clk_enable, gpiochip_add etc.
>
> CC: Jean-Christophe Plagniol-Villard <plagnioj@...osoft.com>
> CC: Linus Walleij <linus.walleij@...aro.org>
> Signed-off-by: Pramod Gurav <pramod.gurav@...rtplayin.com>
> ---
>
> Changes since v1:
> Used PTR_ERR instead of IS_ERR as per Linus's review.
Patch applied.
Yours,
Linus Walleij
--
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