]> 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)
commite0eaed9dd8d6e31d6ad51d4d39fddd17a7ac5f04
treef6a507a387c0f602658f10089cc5bd6c759748fc
parent28290386a31ef239b0df55f8e3cac42cf9ceb581
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