gpio: pca953x: add a comment explaining the need for a lockdep subclass
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 26 Sep 2016 09:54:15 +0000 (11:54 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 11 Oct 2016 21:17:08 +0000 (23:17 +0200)
commit74f47f07e53daeca1d16812fa7c9bf3145bd8216
tree2d3e391673d544148dc5956ee85fb175cb43d4ce
parentde34f4da7f62ff59ac6e1ef320b0fcfa3296fce3
gpio: pca953x: add a comment explaining the need for a lockdep subclass

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@baylibre.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/gpio/gpio-pca953x.c