Re: [PATCH] gpio: pca953x: add a comment explaining the need for a lockdep subclass

From: Linus Walleij
Date: Tue Oct 04 2016 - 08:17:52 EST

On Mon, Sep 26, 2016 at 12:00 PM, Wolfram Sang <wsa@xxxxxxxxxxxxx> wrote:
> On Mon, Sep 26, 2016 at 11:54:15AM +0200, Bartosz Golaszewski wrote:
>> This is a follow-up to commit 559b46990e76 ("gpio: pca953x: fix an
>> incorrect lockdep warning"). The reason for calling
>> lockdep_set_subclass() in pca953x_probe() is not explained in
>> the code.
>> Add a comment describing the problem, partial solution and required
>> future extensions.
>> Signed-off-by: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
> Acked-by: Wolfram Sang <wsa@xxxxxxxxxxxxx>
> Linus, because of dependencies, I should probably pick it up?

Yes Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Sorry was travelling.

Linus Walleij