[PATCH] gpio: pca953x: add a comment explaining the need for a lockdep subclass
From: Bartosz Golaszewski
Date: Mon Sep 26 2016 - 05:54:29 EST
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
drivers/gpio/gpio-pca953x.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)