[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdbZHLqfVZabm47tg9LDC7VS3XfB8zqs+d=0HroH-syMgQ@mail.gmail.com>
Date: Tue, 23 Sep 2014 17:13:59 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Fabian Frederick <fabf@...net.be>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Alexandre Courbot <gnurou@...il.com>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>
Subject: Re: [PATCH 1/1 linux-next] gpio: use container_of to resolve
cs5535_gpio_chip from gpio_chip
On Sun, Sep 14, 2014 at 3:56 PM, Fabian Frederick <fabf@...net.be> wrote:
> Use container_of instead of casting first structure member.
>
> Signed-off-by: Fabian Frederick <fabf@...net.be>
> ---
> Compiled but untested.
Patch applied.
The existing code is unintelligible, so thanks a lot.
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