]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2bf34a62b380a4011b1db092db25b92180ed9a1b
treef6a507a387c0f602658f10089cc5bd6c759748fc
parentaec9b47c40fc0d2a7784c42c58fdf0d09c393321
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