[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdaMVSVPmw8TiR=jgpkXeKw0inR9TzY7p9tDJQRrYU-HXw@mail.gmail.com>
Date: Wed, 12 Mar 2014 14:48:53 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Krzysztof Kozlowski <k.kozlowski@...sung.com>
Cc: Alexandre Courbot <gnurou@...il.com>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] gpio: max732x: Fix I2C dummy device resource leak on
probe failure
On Thu, Mar 6, 2014 at 10:31 AM, Krzysztof Kozlowski
<k.kozlowski@...sung.com> wrote:
> In max732x_probe() driver allocates dummy I2C device (if number of ports
> is greater than 8) however it is not unregistered if probe fails later.
> Fix the leak by unregistering dummy I2C device if it was allocated.
>
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@...sung.com>
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