gpio: pca953x: store driver_data for future use
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 1 Oct 2015 11:20:27 +0000 (14:20 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 5 Oct 2015 08:56:22 +0000 (10:56 +0200)
commitc6664149af2939b8bbaef0711b3ca5469bed33fb
treef6a507a387c0f602658f10089cc5bd6c759748fc
parent8d2402605b85be860808961cd82fdc4bd8bc1704
gpio: pca953x: store driver_data for future use

Instead of using id->driver_data directly we copied it to the internal
structure. This will help to adapt driver for ACPI use.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pca953x.c