Category: Linux

ASoC: fix platform_no_drv_owner.cocci warnings

Author: kbuild test robot <fengguang.wu@intel.com> sound/soc/codecs/gtm601.c:86:4-9: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Marek Belisko Signed-off-by: Fengguang Wu Signed-off-by: Mark Brown — sound/soc/codecs/gtm601.c | 1 – 1 file changed, 1 deletion(-)   diff –git a/sound/soc/codecs/gtm601.c b/sound/soc/codecs/gtm601.c …

Continue reading

ARM/locomo: Consolidate chained IRQ handler install/remove

Author: Thomas Gleixner <tglx@linutronix.de> Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle. Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Russell King Cc: linux-arm-kernel@lists.infradead.org — arch/arm/common/locomo.c | 3 …

Continue reading

ARM/orion: Consolidate chained IRQ handler install/remove

Author: Thomas Gleixner <tglx@linutronix.de> Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle. Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Russell King Cc: linux-arm-kernel@lists.infradead.org — arch/arm/plat-orion/gpio.c | 5 …

Continue reading

pinctrl/exynos: Consolidate chained IRQ handler install/remove

Author: Thomas Gleixner <tglx@linutronix.de> Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle. Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Linus Walleij Cc: linux-gpio@vger.kernel.org — drivers/pinctrl/samsung/pinctrl-exynos.c | 5 …

Continue reading

pinctrl: Consolidate chained IRQ handler install/remove

Author: Thomas Gleixner <tglx@linutronix.de> Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle. Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Linus Walleij Cc: linux-gpio@vger.kernel.org — drivers/pinctrl/pinctrl-single.c | 6 …

Continue reading

pinctrl/rockchip: Consolidate chained IRQ handler install/remove

Author: Thomas Gleixner <tglx@linutronix.de> Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle. Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Linus Walleij Cc: linux-gpio@vger.kernel.org — drivers/pinctrl/pinctrl-rockchip.c | 4 …

Continue reading

PCI/keystone: Consolidate chained IRQ handler install/remove

Author: Thomas Gleixner <tglx@linutronix.de> Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle. Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Murali Karicheri Cc: Bjorn Helgaas Cc: linux-pci@vger.kernel.org Cc: …

Continue reading

irqchip/vic: Consolidate chained IRQ handler install/remove

Author: Thomas Gleixner <tglx@linutronix.de> Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle: @@ expression E1, E2, E3; @@ ( -if (irq_set_handler_data(E1, E2) != 0) – BUG(); | -irq_set_handler_data(E1, E2); ) …

Continue reading

irqchip/versatile: Consolidate chained IRQ handler install/remove

Author: Thomas Gleixner <tglx@linutronix.de> Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle: @@ expression E1, E2, E3; @@ ( -if (irq_set_handler_data(E1, E2) != 0) – BUG(); | -irq_set_handler_data(E1, E2); ) …

Continue reading

irqchip/tb10x: Consolidate chained IRQ handler install/remove

Author: Thomas Gleixner <tglx@linutronix.de> Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle: @@ expression E1, E2, E3; @@ ( -if (irq_set_handler_data(E1, E2) != 0) – BUG(); | -irq_set_handler_data(E1, E2); ) …

Continue reading