Re: [PATCH] clk: st: clk-flexgen: Unmap region obtained by of_iomap

2016-09-19 Thread arvind Yadav
On Wednesday 14 September 2016 11:54 PM, Stephen Boyd wrote: On 09/14, arvind.yadav...@gmail.com wrote: @@ -337,6 +339,8 @@ static void __init st_of_flexgen_setup(struct device_node *np) return; err: + if (reg) This is always true? Why check? I have removed this check. Pl

[PATCH] clk: mediatek: clk-mt8173: Unmap region obtained by of_iomap

2016-09-20 Thread Arvind Yadav
From: Arvind Yadav Free memory mapping, if init is not successful. Signed-off-by: Arvind Yadav --- drivers/clk/mediatek/clk-mt8173.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clk/mediatek/clk-mt8173.c b/drivers/clk/mediatek/clk-mt8173.c index 10c9860

[PATCH] clk: mmp: clk-of-pxa1928: Free memory obtained by kzalloc

2016-09-20 Thread Arvind Yadav
From: Arvind Yadav Free memory, if init is not successful. Signed-off-by: Arvind Yadav --- drivers/clk/mmp/clk-of-pxa1928.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/clk/mmp/clk-of-pxa1928.c b/drivers/clk/mmp/clk-of-pxa1928.c index e478ff4..cede7b4 100644 --- a/drivers

[PATCH] clk:mmp:clk-of-mmp2: Free memory and Unmap region obtained by kzalloc and of_iomap

2016-09-20 Thread Arvind Yadav
From: Arvind Yadav Free memory and memory mapping , if mmp2_clk_init is not successful. Signed-off-by: Arvind Yadav --- drivers/clk/mmp/clk-of-mmp2.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/drivers/clk/mmp/clk-of-mmp2.c b/drivers/clk/mmp/clk-of

[PATCH] clk:mmp:clk-of-pxa910: Free memory and Unmap region obtained by kzmalloc and of_iomap

2016-09-20 Thread Arvind Yadav
From: Arvind Yadav Free memory and memory mapping , if pxa910_clk_init is not successful. Signed-off-by: Arvind Yadav --- drivers/clk/mmp/clk-of-pxa910.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/drivers/clk/mmp/clk-of-pxa910.c b/drivers/clk/mmp

[PATCH] clk: nxp: clk-lpc18xx-ccu: Unmap region obtained by of_iomap

2016-09-20 Thread Arvind Yadav
From: Arvind Yadav Free memory mapping, if lpc18xx_ccu_init is not successful. Signed-off-by: Arvind Yadav --- drivers/clk/nxp/clk-lpc18xx-ccu.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/clk/nxp/clk-lpc18xx-ccu.c b/drivers/clk/nxp/clk-lpc18xx-ccu.c

[PATCH] clk: nxp: clk-lpc32xx: Unmap region obtained by of_iomap

2016-09-20 Thread Arvind Yadav
From: Arvind Yadav Free memory mapping, if lpc32xx_clk_init is not successful. Signed-off-by: Arvind Yadav --- drivers/clk/nxp/clk-lpc32xx.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/nxp/clk-lpc32xx.c b/drivers/clk/nxp/clk-lpc32xx.c index 90d740a..34c9735 100644 --- a

[v2] clk:mmp:clk-of-pxa910: Free memory and Unmap region obtained by kzmalloc and of_iomap

2016-09-20 Thread Arvind Yadav
From: Arvind Yadav Free memory and memory mapping , if pxa910_clk_init is not successful. Signed-off-by: Arvind Yadav --- drivers/clk/mmp/clk-of-pxa910.c | 19 +++ 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/drivers/clk/mmp/clk-of-pxa910.c b/drivers/clk

[v2] clk:mmp:clk-of-mmp2: Free memory and Unmap region obtained by kzalloc and of_iomap

2016-09-20 Thread Arvind Yadav
From: Arvind Yadav Free memory and memory mapping , if mmp2_clk_init is not successful. Signed-off-by: Arvind Yadav --- drivers/clk/mmp/clk-of-mmp2.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/drivers/clk/mmp/clk-of-mmp2.c b/drivers/clk/mmp/clk-of

[PATCH] clk: keystone: pll: Unmap region obtained by of_iomap

2016-09-20 Thread Arvind Yadav
From: Arvind Yadav Free memory mapping, if of_pll_div_clk_init is not successful. Signed-off-by: Arvind Yadav --- drivers/clk/keystone/pll.c |9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/clk/keystone/pll.c b/drivers/clk/keystone/pll.c index a26ba21

[PATCH] clk: renesas: clk-mstp: Free memory and Unmap region obtained by kzalloc and of_iomap

2016-09-20 Thread Arvind Yadav
From: Arvind Yadav Free memory and memory mapping , if cpg_mstp_clocks_init is not successful. Signed-off-by: Arvind Yadav --- drivers/clk/renesas/clk-mstp.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/clk/renesas/clk-mstp.c b/drivers/clk

[PATCH] clocksource: timer-sp804: Unmap region obtained by of_iomap

2016-09-21 Thread Arvind Yadav
Free memory mapping, if integrator_cp_of_init is not successful. Signed-off-by: Arvind Yadav --- drivers/clocksource/timer-sp804.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clocksource/timer-sp804.c b/drivers/clocksource/timer-sp804.c index d078633..419995d 100644 --- a

[PATCH] clocksource: vf_pit_timer: Unmap region obtained by of_iomap

2016-09-21 Thread Arvind Yadav
Free memory mapping, if pit_timer_init is not successful. Signed-off-by: Arvind Yadav --- drivers/clocksource/vf_pit_timer.c | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/drivers/clocksource/vf_pit_timer.c b/drivers/clocksource/vf_pit_timer.c index

[PATCH] clocksource: time-orion: Unmap region obtained by of_iomap

2016-09-21 Thread Arvind Yadav
Free memory mapping, if orion_timer_init is not successful. Signed-off-by: Arvind Yadav --- drivers/clocksource/time-orion.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/drivers/clocksource/time-orion.c b/drivers/clocksource/time-orion.c index a28f496

[PATCH] clocksource: tegra20_timer: Unmap region obtained by of_iomap

2016-09-21 Thread Arvind Yadav
Free memory mapping, if tegra20_init_timer is not successful. Signed-off-by: Arvind Yadav --- drivers/clocksource/tegra20_timer.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/clocksource/tegra20_timer.c b/drivers/clocksource/tegra20_timer.c index f960891..adcd7f4 100644 --- a

[PATCH] clocksource: bcm2835_timer: Unmap region obtained by of_iomap

2016-09-21 Thread Arvind Yadav
Free memory mapping, if bcm2835_timer_init is not successful. Signed-off-by: Arvind Yadav --- drivers/clocksource/bcm2835_timer.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/drivers/clocksource/bcm2835_timer.c b/drivers/clocksource/bcm2835_timer.c index

[PATCH] clocksource: fsl_ftm_timer: Unmap region obtained by of_iomap

2016-09-22 Thread Arvind Yadav
Free memory mapping, if ftm_timer_init is not successful. Signed-off-by: Arvind Yadav --- drivers/clocksource/fsl_ftm_timer.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/clocksource/fsl_ftm_timer.c b/drivers/clocksource/fsl_ftm_timer.c index 738515b

[PATCH] clocksource: mxs_timer: Unmap region obtained by of_iomap

2016-09-22 Thread Arvind Yadav
Free memory mapping, if mxs_timer_init is not successful. Signed-off-by: Arvind Yadav --- drivers/clocksource/mxs_timer.c | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/drivers/clocksource/mxs_timer.c b/drivers/clocksource/mxs_timer.c index 0ba0a91

[PATCH] clocksource: nomadik-mtu: Unmap region obtained by of_iomap

2016-09-22 Thread Arvind Yadav
Free memory mapping, if nmdk_timer_of_init is not successful. Signed-off-by: Arvind Yadav --- drivers/clocksource/nomadik-mtu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/clocksource/nomadik-mtu.c b/drivers/clocksource/nomadik-mtu.c index 3c124d1..d99e415c 100644 --- a

[PATCH] clocksource: timer-imx-gpt: Unmap and free region obtained by of_iomap and kzalloc

2016-09-22 Thread Arvind Yadav
Free memory and memory mapping, if mxc_timer_init_dt is not successful. Signed-off-by: Arvind Yadav --- drivers/clocksource/timer-imx-gpt.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/drivers/clocksource/timer-imx-gpt.c b/drivers/clocksource/timer-imx

[PATCH] clocksource: timer-digicolor: Unmap region obtained by of_iomap

2016-09-22 Thread Arvind Yadav
Free memory mapping, if digicolor_timer_init is not successful. Signed-off-by: Arvind Yadav --- drivers/clocksource/timer-digicolor.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/clocksource/timer-digicolor.c b/drivers/clocksource/timer-digicolor.c index 10318cc..e6e5e6a

[v2] clocksrouce/timer-imz-gpt: Prevent resource leaks in error path

2016-09-22 Thread Arvind Yadav
Free memory and memory mapping, if mxc_timer_init_dt is not successful. Signed-off-by: Arvind Yadav --- drivers/clocksource/timer-imx-gpt.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/drivers/clocksource/timer-imx-gpt.c b/drivers/clocksource/timer-imx

Re: [PATCH] clocksource: timer-imx-gpt: Unmap and free region obtained by of_iomap and kzalloc

2016-09-22 Thread arvind Yadav
I have changed subject as per your review comment. thanks, -Arvind On Thursday 22 September 2016 07:46 PM, Thomas Gleixner wrote: On Thu, 22 Sep 2016, Arvind Yadav wrote: Subject: clocksource: timer-imx-gpt: Unmap and free region obtained by of_iomap and kzalloc These subject lines

Re: [PATCH] clocksource: timer-imx-gpt: Unmap and free region obtained by of_iomap and kzalloc

2016-09-22 Thread arvind Yadav
Sorry, I will take care. Thanks, -Arvind On Thursday 22 September 2016 08:06 PM, Thomas Gleixner wrote: On Thu, 22 Sep 2016, arvind Yadav wrote: I have changed subject as per your review comment. I certainly need a reminder that you did this. NOT! And you nicely copied and pasted

[PATCH] HID-PICOLCD: Dummy hid-picolcd functions should return error code

2016-06-21 Thread Arvind Yadav
with CONFIG_HID_PICOLCD_CIR disabled. Signed-off-by: Arvind Yadav --- drivers/hid/hid-picolcd.h | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/drivers/hid/hid-picolcd.h b/drivers/hid/hid-picolcd.h index e56d847..7e6c10a 100644 --- a/drivers/hid/hid

[PATCH] hid-logitech : Dummy hid-lg functions should return proper error code

2016-06-21 Thread Arvind Yadav
lg3ff_init stub when CONFIG_LOGIRUMBLEPAD2_FF and CONFIG_LOGIG940_FF disabled. Signed-off-by: Arvind Yadav --- drivers/hid/hid-lg.h | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/hid/hid-lg.h b/drivers/hid/hid-lg.h index 10dd8f0..88b8ebd 100644 --- a/drivers

[PATCH V3] clocksource/timer-imx-gpt: Preventing resource leakage in error case.

2016-09-23 Thread Arvind Yadav
-Free previously allocated memory. -Unmap I/O memory from kernel address space. Signed-off-by: Arvind Yadav --- drivers/clocksource/timer-imx-gpt.c | 23 +-- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/drivers/clocksource/timer-imx-gpt.c b/drivers

Re: [PATCH V3] clocksource/timer-imx-gpt: Preventing resource leakage in error case.

2016-09-24 Thread arvind Yadav
Thanks for help and suggestion. I am looking 'Documentation/SubmittingPatches'. Thanks -Arvind Yadav On Friday 23 September 2016 10:11 PM, Thomas Gleixner wrote: On Fri, 23 Sep 2016, Arvind Yadav wrote: So last time (V2) you had a almost perfect subject line: clocksr

Re: [PATCH] clocksource: Freescale: handle of_iomap failures in legacy timer driver

2016-09-08 Thread arvind Yadav
Thanks Daniel, I have done the changes as per your suggestion. Please review it. -Arvind On Thursday 08 September 2016 04:32 PM, Daniel Lezcano wrote: On 30/08/2016 19:09, Arvind Yadav wrote: Check return value of of_iomap and handle errors correctly. Signed-off-by: Arvind Yadav --- Hi

[PATCH] power: reset: xgene-reboot: Unmap region obtained by of_iomap

2016-09-14 Thread Arvind Yadav
From: Arvind Yadav Free memory mapping, if probe is not successful. Signed-off-by: Arvind Yadav --- drivers/power/reset/xgene-reboot.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/power/reset/xgene-reboot.c b/drivers/power/reset/xgene-reboot.c index

[PATCH] video: fbdev: fsl-diu-fb: Return value is not handled correctly

2016-09-14 Thread Arvind Yadav
-Free memory mapping after mapping done. -uninstall framebuffer after framebuffer intallation done. Signed-off-by: Arvind Yadav --- drivers/video/fbdev/fsl-diu-fb.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/video/fbdev/fsl-diu-fb.c b/drivers

[v.3] clocksource:clps711x-timer:- Unmap a region obtained by remap.

2016-08-24 Thread Arvind Yadav
iounmap frees the mapping when timer id is not matching. Signed-off-by: Arvind Yadav --- drivers/clocksource/clps711x-timer.c | 41 +++- 1 file changed, 22 insertions(+), 19 deletions(-) diff --git a/drivers/clocksource/clps711x-timer.c b/drivers/clocksource

Re: [v.1] clk:clk-rockchip:-of_iomap failed to remap then abort clock initialization.

2016-08-24 Thread arvind Yadav
yes, I am referring this code for clock control. --Arvind On Tuesday 23 August 2016 09:45 PM, Heiko Stübner wrote: Hi Arvind, Am Samstag, 13. August 2016, 20:56:18 schrieb Arvind Yadav: -check return of 'of_iomap'.if It's falied to remap then abort. -Unmap a region ob

Re: [v.3] clocksource:clps711x-timer:- Unmap a region obtained by remap.

2016-08-24 Thread arvind Yadav
/24/2016 04:10 PM, Arvind Yadav wrote: iounmap frees the mapping when timer id is not matching. Signed-off-by: Arvind Yadav What is the difference with the V2 ? --- drivers/clocksource/clps711x-timer.c | 41 +++- 1 file changed, 22 insertions(+), 19 deletions

[PATCH] PNP: ide: constify pnp_device_id

2017-08-15 Thread Arvind Yadav
pnp_device_id are not supposed to change at runtime. All functions working with pnp_device_id provided by work with const pnp_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/ide/ide-pnp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH] net: 3c509: constify pnp_device_id

2017-08-15 Thread Arvind Yadav
pnp_device_id are not supposed to change at runtime. All functions working with pnp_device_id provided by work with const pnp_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/ethernet/3com/3c509.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH] watchdog: sc1200: constify pnp_device_id

2017-08-15 Thread Arvind Yadav
pnp_device_id are not supposed to change at runtime. All functions working with pnp_device_id provided by work with const pnp_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/watchdog/sc1200wdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH] scsi: aha1542: constify pnp_device_id

2017-08-15 Thread Arvind Yadav
pnp_device_id are not supposed to change at runtime. All functions working with pnp_device_id provided by work with const pnp_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/scsi/aha1542.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH] scsi: ncr5380: constify pnp_device_id

2017-08-15 Thread Arvind Yadav
pnp_device_id are not supposed to change at runtime. All functions working with pnp_device_id provided by work with const pnp_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/scsi/g_NCR5380.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH] [media] radio: constify pnp_device_id

2017-08-15 Thread Arvind Yadav
pnp_device_id are not supposed to change at runtime. All functions working with pnp_device_id provided by work with const pnp_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/media/radio/radio-cadet.c| 2 +- drivers/media/radio/radio-gemtek.c | 2

[PATCH] Input: i8042: constify pnp_device_id

2017-08-15 Thread Arvind Yadav
pnp_device_id are not supposed to change at runtime. All functions working with pnp_device_id provided by work with const pnp_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/serio/i8042-x86ia64io.h | 4 ++-- 1 file changed, 2 insertions(+), 2

[PATCH 07/15] ALSA: cmi8330: constify pnp_card_device_id

2017-08-17 Thread Arvind Yadav
pnp_card_device_id are not supposed to change at runtime. All functions working with pnp_card_device_id provided by work with const pnp_card_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/isa/cmi8330.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH 14/15] ALSA: sscape: constify pnp_card_device_id

2017-08-17 Thread Arvind Yadav
pnp_card_device_id are not supposed to change at runtime. All functions working with pnp_card_device_id provided by work with const pnp_card_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/isa/sscape.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH 09/15] ALSA: es1688: constify pnp_card_device_id

2017-08-17 Thread Arvind Yadav
pnp_card_device_id are not supposed to change at runtime. All functions working with pnp_card_device_id provided by work with const pnp_card_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/isa/es1688/es1688.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 15/15] ALSA: wavefront: constify pnp_card_device_id

2017-08-17 Thread Arvind Yadav
pnp_card_device_id are not supposed to change at runtime. All functions working with pnp_card_device_id provided by work with const pnp_card_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/isa/wavefront/wavefront.c | 2 +- 1 file changed, 1 insertion

[PATCH 13/15] ALSA: sb16: constify pnp_card_device_id

2017-08-17 Thread Arvind Yadav
pnp_card_device_id are not supposed to change at runtime. All functions working with pnp_card_device_id provided by work with const pnp_card_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/isa/sb/sb16.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH 11/15] ALSA: msnd: constify pnp_card_device_id

2017-08-17 Thread Arvind Yadav
pnp_card_device_id are not supposed to change at runtime. All functions working with pnp_card_device_id provided by work with const pnp_card_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/isa/msnd/msnd_pinnacle.c | 2 +- 1 file changed, 1 insertion

[PATCH 12/15] ALSA: opti9xx: constify pnp_card_device_id

2017-08-17 Thread Arvind Yadav
pnp_card_device_id are not supposed to change at runtime. All functions working with pnp_card_device_id provided by work with const pnp_card_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/isa/opti9xx/miro.c | 2 +- sound/isa/opti9xx/opti92x

[PATCH 10/15] ALSA: gus: constify pnp_card_device_id

2017-08-17 Thread Arvind Yadav
pnp_card_device_id are not supposed to change at runtime. All functions working with pnp_card_device_id provided by work with const pnp_card_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/isa/gus/interwave.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 06/15] ALSA: azt2320: constify pnp_card_device_id

2017-08-17 Thread Arvind Yadav
pnp_card_device_id are not supposed to change at runtime. All functions working with pnp_card_device_id provided by work with const pnp_card_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/isa/azt2320.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH 08/15] ALSA: cs4236: constify pnp_card_device_id

2017-08-17 Thread Arvind Yadav
pnp_card_device_id are not supposed to change at runtime. All functions working with pnp_card_device_id provided by work with const pnp_card_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/isa/cs423x/cs4236.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 04/15] ALSA: ad1816a: constify pnp_card_device_id

2017-08-17 Thread Arvind Yadav
pnp_card_device_id are not supposed to change at runtime. All functions working with pnp_card_device_id provided by work with const pnp_card_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/isa/ad1816a/ad1816a.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 05/15] ALSA: als100: constify pnp_card_device_id

2017-08-17 Thread Arvind Yadav
pnp_card_device_id are not supposed to change at runtime. All functions working with pnp_card_device_id provided by work with const pnp_card_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/isa/als100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH 03/15] ALSA: opl3sa2: constify pnp_device_id and pnp_card_device_id

2017-08-17 Thread Arvind Yadav
*_device_id are not supposed to change at runtime. All functions working with *_device_id provided by work with const *_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/isa/opl3sa2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a

[PATCH 02/15] ALSA: es18xx: constify pnp_device_id and pnp_card_device_id

2017-08-17 Thread Arvind Yadav
*_device_id are not supposed to change at runtime. All functions working with *_device_id provided by work with const *_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/isa/es18xx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a

[PATCH 00/15] constify pnp_device_id and pnp_card_device_id

2017-08-17 Thread Arvind Yadav
*_device_id are not supposed to change at runtime. All functions working with *_device_id provided by work with const *_device_id. So mark the non-const structs as const. Arvind Yadav (15): [PATCH 01/15] ALSA: drivers: mpu401: constify pnp_device_id [PATCH 02/15] ALSA: es18xx: constify

[PATCH 01/15] ALSA: drivers: mpu401: constify pnp_device_id

2017-08-17 Thread Arvind Yadav
pnp_device_id are not supposed to change at runtime. All functions working with pnp_device_id provided by work with const pnp_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- sound/drivers/mpu401/mpu401.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH 17/30] Input: wacom_serial4: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/tablet/wacom_serial4.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 20/30] Input: fujitsu_ts: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/touchscreen/fujitsu_ts.c | 2 +- 1 file changed, 1 insertion

[PATCH 06/30] Input: twidjoy: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/joystick/twidjoy.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 04/30] Input: spaceorb: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/joystick/spaceorb.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 13/30] Input: stowaway: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/keyboard/stowaway.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 30/30] Input: wacom_w8001: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/touchscreen/wacom_w8001.c | 2 +- 1 file changed, 1 insertion

[PATCH 25/30] Input: penmount: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/touchscreen/penmount.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 28/30] Input: touchwin: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/touchscreen/touchwin.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 27/30] Input: touchright: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/touchscreen/touchright.c | 2 +- 1 file changed, 1 insertion

[PATCH 29/30] Input: tsc40: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/touchscreen/tsc40.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 24/30] Input: mtouch: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/touchscreen/mtouch.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 26/30] Input: touchit213: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/touchscreen/touchit213.c | 2 +- 1 file changed, 1 insertion

[PATCH 21/30] Input: gunze: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/touchscreen/gunze.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 23/30] Input: inexio: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/touchscreen/inexio.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 15/30] Input: xtkbd: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/keyboard/xtkbd.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 19/30] Input: elo: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/touchscreen/elo.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 22/30] Input: hampshire: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/touchscreen/hampshire.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 18/30] Input: dynapro: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/touchscreen/dynapro.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 16/30] Input: serio: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/serio/serio_raw.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 14/30] Input: sunkbd: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/keyboard/sunkbd.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 11/30] Input: lkkbd: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/keyboard/lkkbd.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 12/30] Input: newtonkbd: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/keyboard/newtonkbd.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 10/30] Input: hil_kbd: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/keyboard/hil_kbd.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 09/30] Input: iatkbd: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/keyboard/atkbd.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 08/30] Input: zhenhua: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/joystick/zhenhua.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 07/30] Input: warrior: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/joystick/warrior.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 02/30] Input: magellan: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/joystick/magellan.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 05/30] Input: stinger: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/joystick/stinger.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 03/30] Input: spaceball: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/joystick/spaceball.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 00/30] constify input serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Arvind Yadav (30): [PATCH 01/30] Input: iforce: constify serio_device_id [PATCH 02/30] Input: magellan

[PATCH 01/30] Input: iforce: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/input/joystick/iforce/iforce-serio.c | 2 +- 1 file changed, 1

[PATCH] [media] usb: rainshadow-cec: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/media/usb/rainshadow-cec/rainshadow-cec.c | 2 +- 1 file changed, 1

[PATCH] [media] usb: pulse8-cec: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/media/usb/pulse8-cec/pulse8-cec.c | 2 +- 1 file changed, 1 insertion

[PATCH] i2c: taos-evm: constify serio_device_id

2017-08-17 Thread Arvind Yadav
serio_device_id are not supposed to change at runtime. All functions working with serio_device_id provided by work with const serio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/i2c/busses/i2c-taos-evm.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] crypto: nx: constify vio_device_id

2017-08-17 Thread Arvind Yadav
vio_device_id are not supposed to change at runtime. All functions working with vio_device_id provided by work with const vio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/crypto/nx/nx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH] crypto: nx: 842: constify vio_device_id

2017-08-17 Thread Arvind Yadav
vio_device_id are not supposed to change at runtime. All functions working with vio_device_id provided by work with const vio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/crypto/nx/nx-842-pseries.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH] net: ibm: ibmvnic: constify vio_device_id

2017-08-17 Thread Arvind Yadav
vio_device_id are not supposed to change at runtime. All functions working with vio_device_id provided by work with const vio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/ethernet/ibm/ibmvnic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH] net: ibm: ibmveth: constify vio_device_id

2017-08-17 Thread Arvind Yadav
vio_device_id are not supposed to change at runtime. All functions working with vio_device_id provided by work with const vio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/net/ethernet/ibm/ibmveth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH] tty: hvc_vio: constify vio_device_id

2017-08-17 Thread Arvind Yadav
vio_device_id are not supposed to change at runtime. All functions working with vio_device_id provided by work with const vio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/tty/hvc/hvc_vio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH] tty: hvcs: constify vio_device_id

2017-08-17 Thread Arvind Yadav
vio_device_id are not supposed to change at runtime. All functions working with vio_device_id provided by work with const vio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/tty/hvc/hvcs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 3/3] scsi: ibmvscsi_tgt: constify vio_device_id

2017-08-17 Thread Arvind Yadav
vio_device_id are not supposed to change at runtime. All functions working with vio_device_id provided by work with const vio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 2/3] scsi: ibmvscsi: constify vio_device_id

2017-08-17 Thread Arvind Yadav
vio_device_id are not supposed to change at runtime. All functions working with vio_device_id provided by work with const vio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/scsi/ibmvscsi/ibmvscsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

[PATCH 1/3] scsi: ibmvfc: constify vio_device_id

2017-08-17 Thread Arvind Yadav
vio_device_id are not supposed to change at runtime. All functions working with vio_device_id provided by work with const vio_device_id. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/scsi/ibmvscsi/ibmvfc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

  1   2   3   4   5   6   7   8   9   10   >