Re: [PATCH v2] drm: Clean up drm Makefile

2016-02-22 Thread Xinliang Liu
On 9 February 2016 at 17:50, Daniel Vetter wrote: > On Fri, Feb 05, 2016 at 11:10:30AM +0800, Xinliang Liu wrote: >> This patch cleans up the Makefile of drm root directory. >> Make core and device drivers configuration list sorted Alphabetically. >> >> Signed-off-by: Xinliang Liu >> Reviewed-by:

[PATCH v5 11/11] arm64: dts: hisilicon: Add display subsystem DT nodes for hi6220

2016-02-22 Thread Xinliang Liu
Add ade, dsi and adv7533 DT nodes for hikey board. Signed-off-by: Xinliang Liu --- arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 40 +++ arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 55 ++ 2 files changed, 95 insertions(+) diff --git a/arch/arm64/b

[PATCH v5 10/11] MAINTAINERS: Add maintainer for hisilicon DRM driver

2016-02-22 Thread Xinliang Liu
Add maintainer and reviewer for hisilicon DRM driver. v5: None. v4: - Add Chen Feng as Designated reviewer. v3: First version. Signed-off-by: Xinliang Liu --- MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 4978dc19a4d2..b94ac713916a

[PATCH v5 05/11] drm/hisilicon: Add vblank driver for ADE

2016-02-22 Thread Xinliang Liu
Add vblank irq handle. v5: None. v4: None. v3: - Remove hisi_get_crtc_from_index func. - A few cleanup. v2: - Remove abtraction layer. Signed-off-by: Xinliang Liu --- drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c | 62 + drivers/gpu/drm/hisilicon/kirin/kirin_drm_drv.c

[PATCH v5 09/11] drm/hisilicon: Add support for external bridge

2016-02-22 Thread Xinliang Liu
Add support for external HDMI bridge. v5: None. v4: None. v3: - Fix a typo: s/exteranl/external. v2: - Remove abtraction layer. Signed-off-by: Xinliang Liu --- drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c | 52 1 file changed, 52 insertions(+) diff --git a/drivers/

[PATCH v5 06/11] drm/hisilicon: Add cma fbdev and hotplug

2016-02-22 Thread Xinliang Liu
Add cma Fbdev, Fbdev is legency and optional, you can enable/disable it by configuring DRM_FBDEV_EMULATION. Add hotplug. v5: None. v4: None. v3: None. v2: - Use CONFIG_DRM_FBDEV_EMULATION instead of CONFIG_DRM_HISI_FBDEV. Signed-off-by: Xinliang Liu --- drivers/gpu/drm/hisilicon/kirin/kirin_drm

[PATCH v5 07/11] drm/hisilicon: Add designware dsi encoder driver

2016-02-22 Thread Xinliang Liu
Add DesignWare MIPI DSI Host Controller v1.02 encoder driver for hi6220 SoC. v5: None. v4: None. v3: - Rename file name to dw_drm_dsi.c - Make encoder type as DRM_MODE_ENCODER_DSI. - A few cleanup. v2: - Remove abtraction layer. Signed-off-by: Xinliang Liu Signed-off-by: Xinwei Kong Signed-off-

[PATCH v5 08/11] drm/hisilicon: Add designware dsi host driver

2016-02-22 Thread Xinliang Liu
Add DesignWare dsi host driver for hi6220 SoC. v5: None. v4: None. v3: None. v2: - Remove abtraction layer. Signed-off-by: Xinliang Liu --- drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c | 50 1 file changed, 50 insertions(+) diff --git a/drivers/gpu/drm/hisilicon/ki

[PATCH v5 02/11] drm/hisilicon: Add hisilicon kirin drm master driver

2016-02-22 Thread Xinliang Liu
Add kirin DRM master driver for hi6220 SoC which used in HiKey board. Add dumb buffer feature. Add prime dmabuf feature. v5: None. v4: None. v3: - Move and rename all the files to kirin sub-directory. So that we could separate different seires SoCs' driver. - Replace drm_platform_init, load, unl

[PATCH v5 00/11] Add DRM Driver for HiSilicon Kirin hi6220 SoC

2016-02-22 Thread Xinliang Liu
This patch set adds a new drm driver for HiSilicon Kirin hi6220 SoC. Current testing and support board is Hikey board which is one of Linaro 96boards. It is an arm64 open source board. For more information about this board, please access https://www.96boards.org. Hardware Detail ---

[PATCH v5 04/11] drm/hisilicon: Add plane driver for ADE

2016-02-22 Thread Xinliang Liu
Add plane funcs and helper funcs for ADE. v5: None. v4: None. v3: - A few cleanup. v2: - Remove abtraction layer. Signed-off-by: Xinliang Liu --- drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c | 535 +++- 1 file changed, 534 insertions(+), 1 deletion(-) diff --git a/driver

[PATCH v5 03/11] drm/hisilicon: Add crtc driver for ADE

2016-02-22 Thread Xinliang Liu
Add crtc funcs and helper funcs for ADE. v5: - Use syscon to access ADE media NOC QoS registers instread of directly writing registers. - Use reset controller to reset ADE instead of directly writing registers. v4: None. v3: - Make ade as the master driver. - Use port to connect with encoder. -

[PATCH v5 01/11] drm/hisilicon: Add device tree binding for hi6220 display subsystem

2016-02-22 Thread Xinliang Liu
Add ADE display controller binding doc. Add DesignWare DSI Host Controller v1.20a binding doc. v5: - Remove endpoint unit address of dsi output port. - Add "hisilicon,noc-syscon" property for ADE NOC QoS syscon. - Add "resets" property for ADE reset. v4: - Describe more specific of clocks and port

Re: [PATCH] Documentation/memory-barriers: fix wrong comment in example

2016-02-22 Thread SeongJae Park
On Tue, Feb 23, 2016 at 1:33 AM, Paul E. McKenney wrote: > On Mon, Feb 22, 2016 at 11:16:39AM +, David Howells wrote: >> SeongJae Park wrote: >> >> > From f7b5677790771599f418f1d95536935be971ae86 Mon Sep 17 00:00:00 2001 >> > From: SeongJae Park >> > Date: Mon, 22 Feb 2016 19:26:18 +0900 >>

Re: [PATCH 10/61] gpio: ath79: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Alban
On Mon, 22 Feb 2016 19:37:59 +0530 Laxman Dewangan wrote: > Use devm_gpiochip_add_data() for GPIO registration. > > Signed-off-by: Laxman Dewangan > Cc: Alban Bedel > --- > drivers/gpio/gpio-ath79.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpio/gpio-at

Re: [PATCHv2 00/10] RFKill airplane-mode indicator

2016-02-22 Thread João Paulo Rechi Vita
On 22 February 2016 at 12:00, Dan Williams wrote: > On Mon, 2016-02-22 at 11:36 -0500, João Paulo Rechi Vita wrote: >> This series implements an airplane-mode indicator LED trigger, which >> can be >> used by platform drivers. The default policy have have airplane-mode >> set when >> all the radio

[PATCHv3] rfkill: Userspace control for airplane mode

2016-02-22 Thread João Paulo Rechi Vita
Provide an interface for the airplane-mode indicator be controlled from userspace. User has to first acquire the control through RFKILL_OP_AIRPLANE_MODE_INDICATOR_ACQUIRE and keep the fd open for the whole time it wants to be in control of the indicator. Closing the fd restores the default policy.

Re: [PATCH v5 0/3] init: add support to directly boot to a mapped device

2016-02-22 Thread Kees Cook
On Sun, Feb 21, 2016 at 2:08 PM, Alasdair G Kergon wrote: > On Sat, Feb 20, 2016 at 10:13:49AM -0800, Kees Cook wrote: >> This is a resurrection of a patch series from a few years back, first >> brought to the dm maintainers in 2010. It creates a way to define dm >> devices on the kernel command l

Re: [PATCH V2 3/6] stm class: provision for statically assigned masterIDs

2016-02-22 Thread Mathieu Poirier
On 12 February 2016 at 13:33, Mathieu Poirier wrote: > On 12 February 2016 at 09:27, Alexander Shishkin > wrote: >> Mathieu Poirier writes: >> >>> On 8 February 2016 at 06:26, Alexander Shishkin >>> wrote: This $end==$start situation itself may be ambiguous and can be interpreted eith

[PATCH v2] mmc: Add CONFIG_MMC_SIMULATE_MAX_SPEED

2016-02-22 Thread Mark Salyzyn
When CONFIG_MMC_SIMULATE_MAX_SPEED is enabled, Expose max_read_speed, max_write_speed and cache_size sysfs controls to simulate a slow eMMC device. The boot default values, should one wish to set this behavior right from kernel start: CONFIG_MMC_SIMULATE_MAX_READ_SPEED CONFIG_MMC_SIMULATE_MAX_WRIT

Re: [PATCH 11/61] gpio: bcm-kona: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Ray Jui
On 2/22/2016 6:08 AM, Laxman Dewangan wrote: Use devm_gpiochip_add_data() for GPIO registration. Signed-off-by: Laxman Dewangan Cc: Ray Jui --- drivers/gpio/gpio-bcm-kona.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-bcm-kona.c b/drivers/gpio/gpio-b

Re: [PATCHv2 00/10] RFKill airplane-mode indicator

2016-02-22 Thread Dan Williams
On Mon, 2016-02-22 at 11:36 -0500, João Paulo Rechi Vita wrote: > This series implements an airplane-mode indicator LED trigger, which > can be > used by platform drivers. The default policy have have airplane-mode > set when > all the radios known by RFKill are OFF, and unset otherwise. This > pol

[PATCHv2 05/10] rfkill: Factor rfkill_global_states[].cur assignments

2016-02-22 Thread João Paulo Rechi Vita
Factor all assignments to rfkill_global_states[].cur into a single function rfkill_update_global_state(). Signed-off-by: João Paulo Rechi Vita --- net/rfkill/core.c | 38 +- 1 file changed, 17 insertions(+), 21 deletions(-) diff --git a/net/rfkill/core.c b/ne

[PATCHv2 04/10] rfkill: Move "state" sysfs file back to stable

2016-02-22 Thread João Paulo Rechi Vita
There is still quite a bit of code using this interface, so we can't just remove it. Hopefully it will be possible in the future, but since its scheduled removal date is past 2 years already, we are better having the documentation reflecting the current state of things. Signed-off-by: João Paulo R

[PATCHv2 06/10] rfkill: Add documentation about LED triggers

2016-02-22 Thread João Paulo Rechi Vita
Signed-off-by: João Paulo Rechi Vita --- Documentation/rfkill.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/rfkill.txt b/Documentation/rfkill.txt index 2ee6ef9..1f0c270 100644 --- a/Documentation/rfkill.txt +++ b/Documentation/rfkill.txt @@ -83,6 +83,8 @@ rfkill drivers

[PATCHv2 02/10] rfkill: Remove extra blank line

2016-02-22 Thread João Paulo Rechi Vita
Signed-off-by: João Paulo Rechi Vita --- net/rfkill/core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/rfkill/core.c b/net/rfkill/core.c index ffbc375..56d79cb 100644 --- a/net/rfkill/core.c +++ b/net/rfkill/core.c @@ -455,7 +455,6 @@ bool rfkill_get_global_sw_state(const enum rfkill_t

[PATCHv2 08/10] rfkill: Use switch to demux userspace operations

2016-02-22 Thread João Paulo Rechi Vita
Using a switch to handle different ev.op values in rfkill_fop_write() makes the code easier to extend, as out-of-range values can always be handled by the default case. Signed-off-by: João Paulo Rechi Vita --- net/rfkill/core.c | 32 ++-- 1 file changed, 18 insertions

[PATCHv2 03/10] rfkill: Point to the correct deprecated doc location

2016-02-22 Thread João Paulo Rechi Vita
The "claim" sysfs interface has been removed, so its documentation now lives in the "removed" folder. Signed-off-by: João Paulo Rechi Vita --- Documentation/ABI/stable/sysfs-class-rfkill | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Documentation/ABI/stable/sysfs-clas

[PATCHv2 09/10] rfkill: Userspace control for airplane mode

2016-02-22 Thread João Paulo Rechi Vita
Provide an interface for the airplane-mode indicator be controlled from userspace. User has to first acquire the control through RFKILL_OP_AIRPLANE_MODE_ACQUIRE and keep the fd open for the whole time it wants to be in control of the indicator. Closing the fd or using RFKILL_OP_AIRPLANE_MODE_RELEAS

[PATCHv2 07/10] rfkill: Create "rfkill-airplane-mode" LED trigger

2016-02-22 Thread João Paulo Rechi Vita
This creates a new LED trigger to be used by platform drivers as a default trigger for airplane-mode indicator LEDs. By default this trigger will fire when RFKILL_OP_CHANGE_ALL is called for all types (RFKILL_TYPE_ALL), setting the LED brightness to LED_FULL when the changing the state to blocked,

[PATCHv2 10/10] rfkill: Notify userspace of airplane-mode state changes

2016-02-22 Thread João Paulo Rechi Vita
Signed-off-by: João Paulo Rechi Vita --- Documentation/rfkill.txt| 3 +++ include/uapi/linux/rfkill.h | 4 ++-- net/rfkill/core.c | 13 + 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/Documentation/rfkill.txt b/Documentation/rfkill.txt index 9dbe3fc..

[PATCHv2 01/10] rfkill: Improve documentation language

2016-02-22 Thread João Paulo Rechi Vita
Signed-off-by: João Paulo Rechi Vita --- net/rfkill/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/rfkill/core.c b/net/rfkill/core.c index a805831..ffbc375 100644 --- a/net/rfkill/core.c +++ b/net/rfkill/core.c @@ -282,8 +282,8 @@ static void rfkill_set_block(s

[PATCHv2 00/10] RFKill airplane-mode indicator

2016-02-22 Thread João Paulo Rechi Vita
This series implements an airplane-mode indicator LED trigger, which can be used by platform drivers. The default policy have have airplane-mode set when all the radios known by RFKill are OFF, and unset otherwise. This policy can be overwritten by one single userspace application at a time using t

Re: [PATCH] Documentation/memory-barriers: fix wrong comment in example

2016-02-22 Thread Paul E. McKenney
On Mon, Feb 22, 2016 at 11:16:39AM +, David Howells wrote: > SeongJae Park wrote: > > > From f7b5677790771599f418f1d95536935be971ae86 Mon Sep 17 00:00:00 2001 > > From: SeongJae Park > > Date: Mon, 22 Feb 2016 19:26:18 +0900 > > Subject: [PATCH] Documentation/memory-barriers: polish compiler

Re: [PATCH 59/61] gpio: wm8994: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Charles Keepax
On Mon, Feb 22, 2016 at 07:38:48PM +0530, Laxman Dewangan wrote: > Use devm_gpiochip_add_data() for GPIO registration and remove the > need of driver callback .remove. > > Signed-off-by: Laxman Dewangan > Cc: patc...@opensource.wolfsonmicro.com > --- Acked-by: Charles Keepax Thanks, Charles --

Re: [PATCH 57/61] gpio: wm8350: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Charles Keepax
On Mon, Feb 22, 2016 at 07:38:46PM +0530, Laxman Dewangan wrote: > Use devm_gpiochip_add_data() for GPIO registration and remove the > need of driver callback .remove. > > Signed-off-by: Laxman Dewangan > Cc: patc...@opensource.wolfsonmicro.com > --- Acked-by: Charles Keepax Thanks, Charles --

Re: [PATCH 58/61] gpio: wm8350: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Charles Keepax
On Mon, Feb 22, 2016 at 07:38:47PM +0530, Laxman Dewangan wrote: > Use devm_gpiochip_add_data() for GPIO registration and remove the > need of driver callback .remove. > > Signed-off-by: Laxman Dewangan > Cc: patc...@opensource.wolfsonmicro.com > --- Acked-by: Charles Keepax Thanks, Charles --

Re: [PATCH 09/61] gpio: arizona: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Charles Keepax
On Mon, Feb 22, 2016 at 07:37:58PM +0530, Laxman Dewangan wrote: > Use devm_gpiochip_add_data() for GPIO registration and remove the > need of driver callback .remove. > > Signed-off-by: Laxman Dewangan > Cc: patc...@opensource.wolfsonmicro.com > --- Acked-by: Charles Keepax Thanks, Charles --

Re: [PATCH 8/9] rfkill: Userspace control for airplane mode

2016-02-22 Thread João Paulo Rechi Vita
On 18 February 2016 at 15:12, Johannes Berg wrote: > Hi, > > Sorry for the delay reviewing this. > No problems! > > On Mon, 2016-02-08 at 10:41 -0500, João Paulo Rechi Vita wrote: >> Provide an interface for the airplane-mode indicator be controlled >> from >> userspace. User has to first acquir

Re: [PATCH 7/9] rfkill: Create "rfkill-airplane_mode" LED trigger

2016-02-22 Thread João Paulo Rechi Vita
On 18 February 2016 at 15:08, Johannes Berg wrote: > On Mon, 2016-02-08 at 10:41 -0500, João Paulo Rechi Vita wrote: >> This creates a new LED trigger to be used by platform drivers as a >> default trigger for airplane-mode indicator LEDs. >> >> By default this trigger will fire when RFKILL_OP_CHA

[PATCH 14/61] gpio: cs5535: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the need of driver callback .remove. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-cs5535.c | 20 +--- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/drivers/gpio/gpio-cs5535.c b/drivers/gpio/gpi

[PATCH 16/61] gpio: da9055: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the need of driver callback .remove. Signed-off-by: Laxman Dewangan Cc: Support Opensource --- drivers/gpio/gpio-da9055.c | 16 ++-- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/drivers/gpio/gpio-da9055.

[PATCH 17/61] gpio: dln2: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-dln2.c | 16 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/drivers/gpio/gpio-dln2.c b/drivers/gpio/gpio-dln2.c index e11a7d1..f7a60a4 100644 --- a/drivers/gp

[PATCH 20/61] gpio: ge: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-ge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-ge.c b/drivers/gpio/gpio-ge.c index cbbec83..8650b29 100644 --- a/drivers/gpio/gpio-ge.c +++ b/drive

[PATCH 23/61] gpio: janz-ttl: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the need of driver callback .remove. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-janz-ttl.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/gpio/gpio-janz-ttl.c b/drivers/gpio/gpio-jan

[PATCH 21/61] gpio: generic: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the need of driver callback .remove. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-generic.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/drivers/gpio/gpio-generic.c b/drivers/gpio/gpio-generi

[PATCH 19/61] gpio: f7188x: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the need of driver callback .remove. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-f7188x.c | 26 ++ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/drivers/gpio/gpio-f7188x.c b/drivers/gp

[PATCH 44/61] gpio: tb10x: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and clean the error path. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-tb10x.c | 22 ++ 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/drivers/gpio/gpio-tb10x.c b/drivers/gpio/gpio-tb10x.c index 5eaec2

Re: [PATCH 00/61] gpio: Add and use devm_gpiochip_add_data()

2016-02-22 Thread Linus Walleij
On Mon, Feb 22, 2016 at 3:07 PM, Laxman Dewangan wrote: > Add resource management APIs for gpiochip_add_data() and > gpiochip_remove() and use these APIs from different HW drivers. > > This is based on discussion on patch to use the new APIs. > gpio: Add devm_ apis for gpio_chip_add and r

[PATCH 02/61] gpio: Add resource management devm_gpio_chip_{add_data,remove}

2016-02-22 Thread Laxman Dewangan
Add devm wrappers for the gpiochip_add_data() and gpiochip_remove(). Signed-off-by: Laxman Dewangan --- Documentation/driver-model/devres.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-model/devres.txt index 831a536..8d8f94

[PATCH 01/61] gpio: Add devm_ apis for gpiochip_add_data and gpiochip_remove

2016-02-22 Thread Laxman Dewangan
Add device managed APIs devm_gpiochip_add_data() and devm_gpiochip_remove() for the APIs gpiochip_add_data() and gpiochip_remove(). This helps in reducing code in error path and sometimes removal of .remove callback for driver unbind. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpiolib.c

[PATCH 03/61] gpio: Add missing devm_gpio_ wrapper in devres.txt

2016-02-22 Thread Laxman Dewangan
Add following missing devm wrappers in file devrs.txt under list of managed interfaces. devm_gpio_request() devm_gpio_request_one() devm_gpio_free() Signed-off-by: Laxman Dewangan --- Documentation/driver-model/devres.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation

[PATCH 07/61] gpio: adp5588: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the call for gpiochip_remove() from remove callback. Signed-off-by: Laxman Dewangan Cc: Michael Hennerich --- drivers/gpio/gpio-adp5588.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpio/gpio-adp558

[PATCH 05/61] gpio: adnp: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the call for gpiochip_remove() from error path. Also remove the need of driver callback .remove. Signed-off-by: Laxman Dewangan Cc: Alexandre Courbot --- drivers/gpio/gpio-adnp.c | 11 +-- 1 file changed, 1 insertion(+), 10

[PATCH 06/61] gpio: adp5520: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the call for gpiochip_remove() from error path. Also remove the need of driver callback .remove. Signed-off-by: Laxman Dewangan Cc: Michael Hennerich --- drivers/gpio/gpio-adp5520.c | 13 + 1 file changed, 1 insertion(+)

[PATCH 08/61] gpio: amdpt: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the need of driver callback .remove. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-amdpt.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/gpio/gpio-amdpt.c b/drivers/gpio/gpio-amdpt.c i

[PATCH 10/61] gpio: ath79: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration. Signed-off-by: Laxman Dewangan Cc: Alban Bedel --- drivers/gpio/gpio-ath79.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-ath79.c b/drivers/gpio/gpio-ath79.c index d13dd13..a6aad59 100644 --- a/drivers/

[PATCH 09/61] gpio: arizona: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the need of driver callback .remove. Signed-off-by: Laxman Dewangan Cc: patc...@opensource.wolfsonmicro.com --- drivers/gpio/gpio-arizona.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/gpio

[PATCH 11/61] gpio: bcm-kona: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration. Signed-off-by: Laxman Dewangan Cc: Ray Jui --- drivers/gpio/gpio-bcm-kona.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-bcm-kona.c b/drivers/gpio/gpio-bcm-kona.c index b6c5abe..2fd38d5 100644 --- a/dri

[PATCH 12/61] gpio: clps711x: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the need of driver callback .remove. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-clps711x.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/drivers/gpio/gpio-clps711x.c b/drivers/gpio/gpio-clps

[PATCH 13/61] gpio: crystalcove: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the call of gpiochip_remove() from error path. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-crystalcove.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/gpio/gpio-crystalcove.c b/drivers/g

[PATCH 15/61] gpio: da9052: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the need of driver callback .remove. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-da9052.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/drivers/gpio/gpio-da9052.c b/drivers/gpio/gpio-da9052.c

[PATCH 18/61] gpio: ep93xx: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-ep93xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-ep93xx.c b/drivers/gpio/gpio-ep93xx.c index ad27907..d054219 100644 --- a/drivers/gpio/gpio-ep93

[PATCH 24/61] gpio: kempld: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the need of driver callback .remove. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-kempld.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/drivers/gpio/gpio-kempld.c b/drivers/gpio/gpio-kempld.c

[PATCH 22/61] gpio: iop: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-iop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-iop.c b/drivers/gpio/gpio-iop.c index fb65e58..860c535 100644 --- a/drivers/gpio/gpio-iop.c +++ b/d

[PATCH 26/61] gpio: lpc32xx: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-lpc32xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-lpc32xx.c b/drivers/gpio/gpio-lpc32xx.c index 4cecf4c..d39014d 100644 --- a/drivers/gpio/gpio-l

[PATCH 25/61] gpio: lp3943: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the need of driver callback .remove. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-lp3943.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/gpio/gpio-lp3943.c b/drivers/gpio/gpio-lp3943

[PATCH 27/61] gpio: lynxpoint: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-lynxpoint.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpio/gpio-lynxpoint.c b/drivers/gpio/gpio-lynxpoint.c index 1310777..9df015e 100644 --- a/drivers/gp

[PATCH 29/61] gpio: moxart: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-moxart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-moxart.c b/drivers/gpio/gpio-moxart.c index ca60453..869002b 100644 --- a/drivers/gpio/gpio-moxa

[PATCH 31/61] gpio: mxc: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and clean the error path. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-mxc.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpio/gpio-mxc.c b/drivers/gpio/gpio-mxc.c index 7fd21cb..1b342a3 100644 --- a/

[PATCH 30/61] gpio: mvebu: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and clean the error path. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-mvebu.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/gpio/gpio-mvebu.c b/drivers/gpio/gpio-mvebu.c index a5eacc1..11c6582 1

[PATCH 32/61] gpio: octeon: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the need of driver callback .remove. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-octeon.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/gpio/gpio-octeon.c b/drivers/gpio/gpio-octeon.c i

[PATCH 28/61] gpio: mc9s08dz60: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the need of driver callback .remove. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-mc9s08dz60.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/drivers/gpio/gpio-mc9s08dz60.c b/drivers/gpio/gpi

[PATCH 35/61] gpio: palmas: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the need of driver callback .remove. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-palmas.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/gpio/gpio-palmas.c b/drivers/gpio/gpio-palmas

Re: [PATCH 01/61] gpio: Add devm_ apis for gpiochip_add_data and gpiochip_remove

2016-02-22 Thread Andrew Lunn
> +/** > + * devm_gpiochip_add_data() - Resource manager piochip_add_data() ^ missing g. > + * @dev: the device pointer on which irq_chip belongs to. > + * @chip: the chip to register, with chip->base initialized > + * Context: potentially before

[PATCH 34/61] gpio: pcf857x: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and clean the error path. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-pcf857x.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/gpio/gpio-pcf857x.c b/drivers/gpio/gpio-pcf857x.c index 709cd3f..169c

[PATCH 36/61] gpio: rc5t583: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the need of driver callback .remove. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-rc5t583.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/gpio/gpio-rc5t583.c b/drivers/gpio/gpio-rc5t

[PATCH 33/61] gpio: pca953x: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-pca953x.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c index 23196c5..b7fe5d5 100644 --- a/drivers/gpio/gpi

[PATCH 41/61] gpio: stp-xway: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-stp-xway.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-stp-xway.c b/drivers/gpio/gpio-stp-xway.c index d11dd48..19e654f 100644 --- a/drivers/gpio/gpi

[PATCH 37/61] gpio: rdc321x: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the need of driver callback .remove. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-rdc321x.c | 13 ++--- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/drivers/gpio/gpio-rdc321x.c b/drivers/gpio/gpio-rdc

[PATCH 38/61] gpio: sch: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the need of driver callback .remove. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-sch.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/drivers/gpio/gpio-sch.c b/drivers/gpio/gpio-sch.c index 53

[PATCH 39/61] gpio: spear-spics: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-spear-spics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-spear-spics.c b/drivers/gpio/gpio-spear-spics.c index 50fb090..7ffd164 100644 --- a/drivers

[PATCH 43/61] gpio: syscon: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the need of driver callback .remove. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-syscon.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/drivers/gpio/gpio-syscon.c b/drivers/gpio/gpio-syscon.c

[PATCH 40/61] gpio: sta2x11: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-sta2x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-sta2x11.c b/drivers/gpio/gpio-sta2x11.c index 83af1cb..0d5b8c5 100644 --- a/drivers/gpio/gpio-s

[PATCH 45/61] gpio: tc3589x: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the need of driver callback .remove. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-tc3589x.c | 13 ++--- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/drivers/gpio/gpio-tc3589x.c b/drivers/gpio/gpio-tc3

[PATCH 46/61] gpio: tegra: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration. Signed-off-by: Laxman Dewangan Cc: Stephen Warren Cc: Thierry Reding --- drivers/gpio/gpio-tegra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-tegra.c b/drivers/gpio/gpio-tegra.c index 9a1a7e2..790bb1

[PATCH 48/61] gpio: tps6586x: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the need of driver callback .remove. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-tps6586x.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/gpio/gpio-tps6586x.c b/drivers/gpio/gpio-tp

[PATCH 47/61] gpio: timberdale Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-timberdale.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpio/gpio-timberdale.c b/drivers/gpio/gpio-timberdale.c index a6de10c..f0164ec 100644 --- a/drivers

[PATCH 49/61] gpio: tps65910: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the need of driver callback .remove. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-tps65910.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/gpio/gpio-tps65910.c b/drivers/gpio/gpio-tp

[PATCH 50/61] gpio: tps65912: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the need of driver callback .remove. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-tps65912.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/gpio/gpio-tps65912.c b/drivers/gpio/gpio-tp

[PATCH 53/61] gpio: twl6040: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the need of driver callback .remove. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-twl6040.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/gpio/gpio-twl6040.c b/drivers/gpio/gpio-twl6040.c

[PATCH 51/61] gpio: ts4800: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the need of driver callback .remove. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-ts4800.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/gpio/gpio-ts4800.c b/drivers/gpio/gpio-ts4800.

[PATCH 52/61] gpio: ts5500: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and clean the error path. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-ts5500.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/gpio/gpio-ts5500.c b/drivers/gpio/gpio-ts5500.c index 5f94508..6cfeba0 1

[PATCH 54/61] gpio: ucb1400: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-ucb1400.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpio/gpio-ucb1400.c b/drivers/gpio/gpio-ucb1400.c index 2c5cd46..5dbe31b 100644 --- a/drivers/gpio/gpio

[PATCH 55/61] gpio: viperboard: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the need of driver callback .remove. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-viperboard.c | 24 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/drivers/gpio/gpio-viperboard.c b/driv

[PATCH 58/61] gpio: wm8350: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the need of driver callback .remove. Signed-off-by: Laxman Dewangan Cc: patc...@opensource.wolfsonmicro.com --- drivers/gpio/gpio-wm8350.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/gpio/

[PATCH 57/61] gpio: wm8350: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the need of driver callback .remove. Signed-off-by: Laxman Dewangan Cc: patc...@opensource.wolfsonmicro.com --- drivers/gpio/gpio-wm831x.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/gpio/

[PATCH 59/61] gpio: wm8994: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the need of driver callback .remove. Signed-off-by: Laxman Dewangan Cc: patc...@opensource.wolfsonmicro.com --- drivers/gpio/gpio-wm8994.c | 17 +++-- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/drivers/

[PATCH 56/61] gpio: vx855: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration and remove the need of driver callback .remove. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-vx855.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/gpio/gpio-vx855.c b/drivers/gpio/gpio-vx855.c i

[PATCH 60/61] gpio: xgene-sb: Use devm_gpiochip_add_data() for gpio registration

2016-02-22 Thread Laxman Dewangan
Use devm_gpiochip_add_data() for GPIO registration. Signed-off-by: Laxman Dewangan --- drivers/gpio/gpio-xgene-sb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpio/gpio-xgene-sb.c b/drivers/gpio/gpio-xgene-sb.c index 282004d..e665770 100644 --- a/drivers/gpio/g

  1   2   >