gpio: pca953x: correct type of reg_direction
authorDavid Jander <david@protonic.nl>
Tue, 27 Aug 2019 06:46:28 +0000 (06:46 +0000)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 28 Aug 2019 10:55:24 +0000 (12:55 +0200)
commitbc624a06f0c5190bc37fec7d22cd82b43a579698
tree43a60ab0411b90831043d799bd24be89b476a683
parenta55aa89aab90fae7c815b0551b07be37db359d76
gpio: pca953x: correct type of reg_direction

The type of reg_direction needs to match the type of the regmap, which
is u8.

Fixes: 0f25fda840a9 ("gpio: pca953x: Zap ad-hoc reg_direction cache")
Cc: Cc: <stable@vger.kernel.org>
Signed-off-by: David Jander <david@protonic.nl>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpio-pca953x.c