[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdbfxFsz8KokTmj-j3cbWpPrJr8c6MmZgU0rMBriOMMJ-g@mail.gmail.com>
Date: Thu, 15 Nov 2012 12:32:22 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Axel Lin <axel.lin@...ics.com>
Cc: Viresh Kumar <viresh.kumar@...aro.org>, spear-devel@...t.st.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pinctrl: spear: Make get_gpio_pingroup return NULL when
no gpio_pingroup found
On Tue, Nov 13, 2012 at 1:20 PM, Axel Lin <axel.lin@...ics.com> wrote:
> Currently get_gpio_pingroup() may return NULL or ERR_PTR(-EINVAL) when
> no gpio_pingroup found. The caller in gpio_request_endisable() only
> checks if the return value is NULL. Return ERR_PTR(-EINVAL) for
> get_gpio_pingroup() causes problem and seems not necessary.
>
> Signed-off-by: Axel Lin <axel.lin@...ics.com>
Applied with Viresh's ACK.
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