]> git.karo-electronics.de Git - linux-beck.git/commit
platform: x86: intel-pmic: use gpiochip data pointer
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Dec 2015 21:54:20 +0000 (22:54 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 26 Apr 2016 13:34:41 +0000 (15:34 +0200)
commit3769a895b4a61b66085f97f8124df4833ee6e577
treecfe48f24f65078db61e0ae9ae08f54abb495bfe1
parentd3baee37f1488b0dea726597bb12a0086b233f8b
platform: x86: intel-pmic: use gpiochip data pointer

This makes the driver use the data pointer added to the gpio_chip
to store a pointer to the state container instead of relying on
container_of().

Cc: Feng Tang <feng.tang@intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/platform/x86/intel_pmic_gpio.c