Re: [PATCH] gpio: tegra: drop tegra specific GPIO lockdep classes

From: Linus Walleij
Date: Sun Jul 29 2018 - 17:39:30 EST


On Thu, Jul 26, 2018 at 5:42 PM Stefan Agner <stefan@xxxxxxxx> wrote:

> Since commit e45d1c80c0ee ("gpio: put GPIO IRQs into their own lock
> class") and commit a0a8bcf4670c ("gpiolib: irqchip: use different
> lockdep class for each gpio irqchip") GPIO lib takes care of lockdep
> classes. In fact, gpiochip_irq_map() overwrites the class anyway, so
> the lockdep class set by the driver is useless. Remove it.
>
> Signed-off-by: Stefan Agner <stefan@xxxxxxxx>

Patch applied. Makes perfect sense.

Yours,
Linus Walleij