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

Bartosz Golaszewski
2016-09-26T09:54:26Z

Since there's an rc8 I thought I'd send a follow-up patch to the
series addressing the lockdep false positive in pca953x.

The reason for setting the subclass in the probe function is not
explained in the code nor is it obvious at first glance. This patch
adds a comment explaining the problem.

Rebased on top of current i2c/for-next.

Bartosz Golaszewski (1):
gpio: pca953x: add a comment explaining the need for a lockdep
subclass

drivers/gpio/gpio-pca953x.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)

--
2.7.4