platform/kernel/linux-exynos.git
8 years agopinctrl: spmi-mpp: use gpiochip data pointer
Linus Walleij [Tue, 8 Dec 2015 08:53:39 +0000 (09:53 +0100)]
pinctrl: spmi-mpp: 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: Björn Andersson <bjorn.andersson@sonymobile.com>
Cc: Ivan T. Ivanov <ivan.ivanov@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agopinctrl: spmi: use gpiochip data pointer
Linus Walleij [Tue, 8 Dec 2015 08:51:47 +0000 (09:51 +0100)]
pinctrl: spmi: 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: Ivan T. Ivanov <ivan.ivanov@linaro.org>
Cc: Björn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agopinctrl: msm: use gpiochip data pointer
Linus Walleij [Tue, 8 Dec 2015 08:49:18 +0000 (09:49 +0100)]
pinctrl: msm: 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: Stephen Boyd <sboyd@codeaurora.org>
Cc: Björn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agopinctrl: st: use gpiochip data pointer
Linus Walleij [Tue, 8 Dec 2015 08:45:18 +0000 (09:45 +0100)]
pinctrl: st: 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: Srinivas Kandagatla <srinivas.kandagatla@gmail.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agopinctrl: rockchip: use gpiochip data pointer
Linus Walleij [Tue, 8 Dec 2015 08:39:13 +0000 (09:39 +0100)]
pinctrl: rockchip: 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().

Acked-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agopinctrl: pistachio: use gpiochip data pointer
Linus Walleij [Tue, 8 Dec 2015 08:37:00 +0000 (09:37 +0100)]
pinctrl: pistachio: 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().

Acked-by: Andrew Bresticker <abrestic@chromium.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agopinctrl: digicolor: use gpiochip data pointer
Linus Walleij [Tue, 8 Dec 2015 08:35:14 +0000 (09:35 +0100)]
pinctrl: digicolor: 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().

Acked-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agopinctrl: u300: use gpiochip data pointer
Linus Walleij [Tue, 8 Dec 2015 08:33:30 +0000 (09:33 +0100)]
pinctrl: u300: 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().

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agopinctrl: at91: use gpiochip data pointer
Linus Walleij [Tue, 8 Dec 2015 08:27:45 +0000 (09:27 +0100)]
pinctrl: at91: 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: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agopinctrl: as3722: use gpiochip data pointer
Linus Walleij [Tue, 8 Dec 2015 08:24:32 +0000 (09:24 +0100)]
pinctrl: as3722: 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: Andrew Bresticker <abrestic@chromium.org>
Cc: Mallikarjun Kasoju <mkasoju@nvidia.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agopinctrl: amd: use gpiochip data pointer
Linus Walleij [Tue, 8 Dec 2015 08:21:38 +0000 (09:21 +0100)]
pinctrl: amd: 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: Ken Xue <Ken.Xue@amd.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agopinctrl: adi2: use gpiochip data pointer
Linus Walleij [Tue, 8 Dec 2015 07:33:09 +0000 (08:33 +0100)]
pinctrl: adi2: 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().

Acked-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agopinctrl: abx500: use gpiochip data pointer
Linus Walleij [Tue, 8 Dec 2015 07:29:43 +0000 (08:29 +0100)]
pinctrl: abx500: 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().

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agopinctrl: nomadik: use gpiochip data pointer
Linus Walleij [Thu, 3 Dec 2015 14:44:46 +0000 (15:44 +0100)]
pinctrl: nomadik: 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().

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agopinctrl: meson: use gpiochip data pointer
Linus Walleij [Tue, 8 Dec 2015 07:26:34 +0000 (08:26 +0100)]
pinctrl: meson: 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: Beniamino Galvani <b.galvani@gmail.com>
Cc: Carlo Caione <carlo@endlessm.com>
Cc: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agopinctrl: intel: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 23:18:59 +0000 (00:18 +0100)]
pinctrl: intel: 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().

Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agopinctrl: cherryview: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 23:16:03 +0000 (00:16 +0100)]
pinctrl: cherryview: 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().

Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agopinctrl: bcm2835: use gpiochip data pointer
Linus Walleij [Tue, 8 Dec 2015 21:01:00 +0000 (22:01 +0100)]
pinctrl: bcm2835: 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: Stephen Warren <swarren@wwwdotorg.org>
Acked-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agopinctrl: baytrail: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 23:03:44 +0000 (00:03 +0100)]
pinctrl: baytrail: 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().

Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: fix misleading comment
Linus Walleij [Mon, 7 Dec 2015 14:31:58 +0000 (15:31 +0100)]
gpio: fix misleading comment

We are not relying on container_of() now that we have
gpiochip_get_data().

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: convert remaining users to gpiochip_add_data()
Linus Walleij [Tue, 8 Dec 2015 09:41:44 +0000 (10:41 +0100)]
gpio: convert remaining users to gpiochip_add_data()

For completion, sweep the floor from all gpiochip_add() usage so
we can remove that function and get rid of the function wrapper
gpiochip_add().

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: zynq: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 14:29:53 +0000 (15:29 +0100)]
gpio: zynq: 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: Michal Simek <michal.simek@xilinx.com>
Cc: Sören Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: zx: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 14:27:49 +0000 (15:27 +0100)]
gpio: zx: 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: Jun Nie <jun.nie@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: zevio: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 14:26:02 +0000 (15:26 +0100)]
gpio: zevio: 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: Fabian Vogt <fabian@ritter-vogt.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: xlp: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 14:22:31 +0000 (15:22 +0100)]
gpio: xlp: 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: Kamlakant Patel <kamlakant.patel@broadcom.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: xilinx: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 14:20:17 +0000 (15:20 +0100)]
gpio: xilinx: 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: Michal Simek <michal.simek@xilinx.com>
Cc: Sören Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: xgene: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 14:16:50 +0000 (15:16 +0100)]
gpio: xgene: 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 Kan <fkan@apm.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: wm8994: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 14:15:30 +0000 (15:15 +0100)]
gpio: wm8994: 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: patches@opensource.wolfsonmicro.com
Cc: Mark Brown <broonie@kernel.org>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: wm8350: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 14:13:39 +0000 (15:13 +0100)]
gpio: wm8350: 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: patches@opensource.wolfsonmicro.com
Cc: Mark Brown <broonie@kernel.org>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: wm831x: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 14:11:34 +0000 (15:11 +0100)]
gpio: wm831x: 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: patches@opensource.wolfsonmicro.com
Cc: Mark Brown <broonie@kernel.org>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: vx855: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 14:09:57 +0000 (15:09 +0100)]
gpio: vx855: 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().

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: viperboard: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 14:08:00 +0000 (15:08 +0100)]
gpio: viperboard: 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: Lars Poeschel <poeschel@lemonage.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: vf610: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 14:03:30 +0000 (15:03 +0100)]
gpio: vf610: 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: Stefan Agner <stefan@agner.ch>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: ucb1400: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 14:01:14 +0000 (15:01 +0100)]
gpio: ucb1400: 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().

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: tz1090: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 13:58:56 +0000 (14:58 +0100)]
gpio: tz1090: 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: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: tz1090-pdc: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 13:57:25 +0000 (14:57 +0100)]
gpio: tz1090-pdc: 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: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: twl4030: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 13:55:07 +0000 (14:55 +0100)]
gpio: twl4030: 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: Roger Quadros <rogerq@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: ts5500: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 13:52:55 +0000 (14:52 +0100)]
gpio: ts5500: 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().

Acked-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: tps65912: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 13:50:42 +0000 (14:50 +0100)]
gpio: tps65912: 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: Nicolas Saenz Julienne <nicolassaenzj@gmail.com>
Cc: Margarita Olaya <magi@slimlogic.co.uk>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: tps65910: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 13:48:49 +0000 (14:48 +0100)]
gpio: tps65910: 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().

Acked-By: Rhyland Klein <rklein@nvidia.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: tps6586x: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 13:46:45 +0000 (14:46 +0100)]
gpio: tps6586x: 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().

Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: timberdale: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 13:43:28 +0000 (14:43 +0100)]
gpio: timberdale: 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().

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: tc3589x: use gpiochip data pointer
Linus Walleij [Thu, 3 Dec 2015 14:37:29 +0000 (15:37 +0100)]
gpio: tc3589x: 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().

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: tb10x: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 13:41:02 +0000 (14:41 +0100)]
gpio: tb10x: 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: Christian Ruppert <christian.ruppert@abilis.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: syscon: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 13:38:36 +0000 (14:38 +0100)]
gpio: syscon: 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: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: sx150x: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 13:36:31 +0000 (14:36 +0100)]
gpio: sx150x: 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: Wei Chen <Wei.Chen@csr.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: stp-xway: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 13:34:33 +0000 (14:34 +0100)]
gpio: stp-xway: 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: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: stmpe: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 13:32:13 +0000 (14:32 +0100)]
gpio: stmpe: 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: Bhupesh Sharma <bhupesh.sharma@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: sta2x11: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 13:29:48 +0000 (14:29 +0100)]
gpio: sta2x11: 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: Alessandro Rubini <rubini@gnudd.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: spear-spics: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 13:26:58 +0000 (14:26 +0100)]
gpio: spear-spics: 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: Shiraz Hashim <shiraz.linux.kernel@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: sch311x: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 13:24:24 +0000 (14:24 +0100)]
gpio: sch311x: 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().

Acked-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: sch: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 13:21:49 +0000 (14:21 +0100)]
gpio: sch: 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: Chang Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: samsung: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 13:19:19 +0000 (14:19 +0100)]
gpio: samsung: 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: Paul Bolle <pebolle@tiscali.nl>
Cc: Kukjin Kim <kgene.kim@samsung.com>
Acked-by: Tomasz Figa <tomasz.figa@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: rdc321x: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 13:16:19 +0000 (14:16 +0100)]
gpio: rdc321x: 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().

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: rcar: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 13:12:45 +0000 (14:12 +0100)]
gpio: rcar: 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: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Hisashi Nakamura <hisashi.nakamura.ak@renesas.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: rc5t583: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 13:08:12 +0000 (14:08 +0100)]
gpio: rc5t583: 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().

Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: pxa: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 10:42:22 +0000 (11:42 +0100)]
gpio: pxa: 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: Daniel Mack <zonque@gmail.com>
Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: pl061: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 10:37:33 +0000 (11:37 +0100)]
gpio: pl061: 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: Haojian Zhuang <haojian.zhuang@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: pch: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 10:34:53 +0000 (11:34 +0100)]
gpio: pch: 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: Thierry Reding <treding@nvidia.com>
Cc: Daniel Krueger <daniel.krueger@systec-electronic.com>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: pcf857x: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 10:24:05 +0000 (11:24 +0100)]
gpio: pcf857x: 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: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: George Cherian <george.cherian@ti.com>
Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: pca953x: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 10:20:54 +0000 (11:20 +0100)]
gpio: pca953x: 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: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: Markus Pargmann <mpa@pengutronix.de>
Cc: Toby Smith <toby@tismith.id.au>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: palmas: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 10:18:17 +0000 (11:18 +0100)]
gpio: palmas: 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: Andrew Chew <achew@nvidia.com>
Cc: Stephen Warren <swarren@nvidia.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: omap: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 10:16:00 +0000 (11:16 +0100)]
gpio: omap: 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: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: octeon: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 10:13:27 +0000 (11:13 +0100)]
gpio: octeon: 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().

Reviewed-by: David Daney <david.daney@cavium.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: mvebu: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 10:09:24 +0000 (11:09 +0100)]
gpio: mvebu: 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: Gregory CLEMENT <gregory.clement@free-electrons.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: msic: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 09:37:39 +0000 (10:37 +0100)]
gpio: msic: 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().

Acked-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: mpc8xxx: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 09:34:28 +0000 (10:34 +0100)]
gpio: mpc8xxx: 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: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: mpc5200: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 09:25:36 +0000 (10:25 +0100)]
gpio: mpc5200: 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().

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: mm-lantiq: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 09:19:29 +0000 (10:19 +0100)]
gpio: mm-lantiq: 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: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Cc: John Crispin <blogic@openwrt.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: ml-ioh: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 09:12:05 +0000 (10:12 +0100)]
gpio: ml-ioh: 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>
Cc: Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: mcp: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 09:09:36 +0000 (10:09 +0100)]
gpio: mcp: 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: Sonic Zhang <sonic.zhang@analog.com>
Acked-by: Alexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: mc9s08dz60: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 09:07:07 +0000 (10:07 +0100)]
gpio: mc9s08dz60: 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: wu guoxing <b39297@freescale.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: mc33880: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 09:04:32 +0000 (10:04 +0100)]
gpio: mc33880: 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().

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: mb86s7x: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 09:01:36 +0000 (10:01 +0100)]
gpio: mb86s7x: 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().

Acked-By: Jassi Brar <jaswinder.singh@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: max732x: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 08:58:28 +0000 (09:58 +0100)]
gpio: max732x: 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: Nicholas Krause <xerofoify@gmail.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Semen Protsenko <semen.protsenko@globallogic.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: max730x: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 08:27:05 +0000 (09:27 +0100)]
gpio: max730x: 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: Roland Stigge <stigge@antcom.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: lynxpoint: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 08:21:55 +0000 (09:21 +0100)]
gpio: lynxpoint: 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: Mathias Nyman <mathias.nyman@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: lpc32xx: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 08:18:23 +0000 (09:18 +0100)]
gpio: lpc32xx: 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: Roland Stigge <stigge@antcom.de>
Acked-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: lpc18xx: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 08:13:57 +0000 (09:13 +0100)]
gpio: lpc18xx: 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().

Acked-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: lp3943: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 08:10:13 +0000 (09:10 +0100)]
gpio: lp3943: 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: Milo Kim <milo.kim@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: kempld: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 08:06:22 +0000 (09:06 +0100)]
gpio: kempld: 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: Brunner Michael <Michael.Brunner@kontron.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: it87: use gpiochip data pointer
Linus Walleij [Mon, 7 Dec 2015 08:03:09 +0000 (09:03 +0100)]
gpio: it87: 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: Diego Elio Pettenò <flameeyes@flameeyes.eu>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: intel-mid: use gpiochip data pointer
Linus Walleij [Sun, 6 Dec 2015 09:55:28 +0000 (10:55 +0100)]
gpio: intel-mid: 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: David Cohen <david.a.cohen@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: f7188: use gpiochip data pointer
Linus Walleij [Sun, 6 Dec 2015 09:51:13 +0000 (10:51 +0100)]
gpio: f7188: 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: Andreas Bofjall <andreas@gazonk.org>
Cc: Simon Guinot <simon.guinot@sequanux.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: em: use gpiochip data pointer
Linus Walleij [Sat, 5 Dec 2015 23:36:39 +0000 (00:36 +0100)]
gpio: em: 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: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Magnus Damm <damm@opensource.se>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: dln2: use gpiochip data pointer
Linus Walleij [Sat, 5 Dec 2015 23:32:16 +0000 (00:32 +0100)]
gpio: dln2: 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: Octavian Purdila <octavian.purdila@intel.com>
Cc: Daniel Baluta <daniel.baluta@intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: davinci: use gpiochip data pointer
Linus Walleij [Fri, 4 Dec 2015 15:25:04 +0000 (16:25 +0100)]
gpio: davinci: 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: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: Sekhar Nori <nsekhar@ti.com>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: da9055: use gpiochip data pointer
Linus Walleij [Fri, 4 Dec 2015 15:21:53 +0000 (16:21 +0100)]
gpio: da9055: 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: Ashish Jangam <ashish.jangam@kpitcummins.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: da9052: use gpiochip data pointer
Linus Walleij [Fri, 4 Dec 2015 15:19:52 +0000 (16:19 +0100)]
gpio: da9052: 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: Ashish Jangam <ashish.jangam@kpitcummins.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: cs5535: use gpiochip data pointer
Linus Walleij [Fri, 4 Dec 2015 14:53:04 +0000 (15:53 +0100)]
gpio: cs5535: 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: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: crystalcove: use gpiochip data pointer
Linus Walleij [Fri, 4 Dec 2015 14:47:54 +0000 (15:47 +0100)]
gpio: crystalcove: 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: Shobhit Kumar <shobhit.kumar@intel.com>
Cc: Zhu, Lejun <lejun.zhu@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: bt8xx: use gpiochip data pointer
Linus Walleij [Fri, 4 Dec 2015 14:44:16 +0000 (15:44 +0100)]
gpio: bt8xx: 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: Michael Buesch <m@bues.ch>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: bcm-kona: use gpiochip data pointer
Linus Walleij [Fri, 4 Dec 2015 14:39:50 +0000 (15:39 +0100)]
gpio: bcm-kona: 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: Markus Mayer <markus.mayer@linaro.org>
Cc: Tim Kryger <tim.kryger@linaro.org>
Cc: Matt Porter <matt.porter@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: ath79: use gpiochip data pointer
Linus Walleij [Fri, 4 Dec 2015 14:36:14 +0000 (15:36 +0100)]
gpio: ath79: 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().

Acked-by: Alban Bedel <albeu@free.fr>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: arizona: use gpiochip data pointer
Linus Walleij [Fri, 4 Dec 2015 14:31:31 +0000 (15:31 +0100)]
gpio: arizona: 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: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Cc: Mark Brown <broonie@kernel.org>
Reviewed-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: amdpt: use gpiochip data pointer
Linus Walleij [Fri, 4 Dec 2015 14:29:41 +0000 (15:29 +0100)]
gpio: amdpt: 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: YD Tseng <ltyu101@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: amd8111: use gpiochip data pointer
Linus Walleij [Fri, 4 Dec 2015 14:26:35 +0000 (15:26 +0100)]
gpio: amd8111: 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: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: altera: use gpiochip data pointer
Linus Walleij [Fri, 4 Dec 2015 14:16:43 +0000 (15:16 +0100)]
gpio: altera: 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: Tien Hock Loh <thloh@altera.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: adp5588: use gpiochip data pointer
Linus Walleij [Fri, 4 Dec 2015 14:05:34 +0000 (15:05 +0100)]
gpio: adp5588: 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: Jean-Francois Dagenais <jeff.dagenais@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
8 years agogpio: adp5520: use gpiochip data pointer
Linus Walleij [Fri, 4 Dec 2015 14:01:50 +0000 (15:01 +0100)]
gpio: adp5520: 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().

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>