Author: Thomas Gleixner <tglx@linutronix.de> The irq argument of most interrupt flow handlers is unused or merily used instead of a local variable. The handlers which need the irq argument can retrieve the irq number from the irq descriptor. Search and update was done with coccinelle and the invaluable help of Julia Lawall. Signed-off-by: Thomas Gleixner …
Catégorie : Linux
Jul 13 2015
gpio/mvebu: Prepare mvebu_gpio_irq_handler for irq argument removal
Author: Thomas Gleixner <tglx@linutronix.de> The irq argument of most interrupt flow handlers is unused or merily used instead of a local variable. The handlers which need the irq argument can retrieve the irq number from the irq descriptor. Search and update was done with coccinelle and the invaluable help of Julia Lawall. Signed-off-by: Thomas Gleixner …
Jul 13 2015
gpio/ep93xx: Prepare ep93xx_gpio_f_irq_handler for irq argument removal
Author: Thomas Gleixner <tglx@linutronix.de> The irq argument of most interrupt flow handlers is unused or merily used instead of a local variable. The handlers which need the irq argument can retrieve the irq number from the irq descriptor. Search and update was done with coccinelle and the invaluable help of Julia Lawall. Signed-off-by: Thomas Gleixner …
Jul 13 2015
gpio/davinci: Prepare gpio_irq_handler for irq argument removal
Author: Thomas Gleixner <tglx@linutronix.de> The irq argument of most interrupt flow handlers is unused or merily used instead of a local variable. The handlers which need the irq argument can retrieve the irq number from the irq descriptor. Search and update was done with coccinelle and the invaluable help of Julia Lawall. Signed-off-by: Thomas Gleixner …
Jul 11 2015
ASoC: sti-sas: fix platform_no_drv_owner.cocci warnings
Author: kbuild test robot <fengguang.wu@intel.com> sound/soc/codecs/sti-sas.c:616:3-8: 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 Signed-off-by: Fengguang Wu Signed-off-by: Mark Brown — sound/soc/codecs/sti-sas.c | 1 – 1 file changed, 1 deletion(-) diff –git a/sound/soc/codecs/sti-sas.c b/sound/soc/codecs/sti-sas.c index 6c0bbe8..adc2c34 100644 …
Jul 10 2015
ipvs: Delete an unnecessary check before the function call « module_put »
Author: Markus Elfring <elfring@users.sourceforge.net> The module_put() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Simon Horman Signed-off-by: Pablo Neira Ayuso — net/netfilter/ipvs/ip_vs_sched.c | 2 +- 1 file changed, 1 insertion(+), …
Jul 10 2015
drivers/video/fbdev/atyfb: Use arch_phys_wc_add() and ioremap_wc()
Author: Luis R. Rodriguez <mcgrof@suse.com> This driver uses strong UC for the MMIO region, and ioremap_wc() for the framebuffer to whitelist for the WC MTRR that can be changed to WC. On PAT systems we don’t need the MTRR call so just use arch_phys_wc_add() there, this lets us remove all those ifdefs. Let’s also be …
Jul 09 2015
HID: wacom: Delete unnecessary checks before the function call « input_free_device »
Author: Markus Elfring <elfring@users.sourceforge.net> The input_free_device() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Jiri Kosina — drivers/hid/wacom_sys.c | 9 +++—— 1 file changed, 3 insertions(+), 6 deletions(-) diff …
Jul 09 2015
neterion: s2io: Use module_pci_driver
Author: Vaishali Thakkar <vthakkar1994@gmail.com> Use module_pci_driver for drivers whose init and exit functions only register and unregister, respectively. A simplified version of the Coccinelle semantic patch that performs this transformation is as follows: @a@ identifier f, x; @@ -static f(…) { return pci_register_driver(&x); } @b depends on a@ identifier e, a.x; statement S; @@ -static …
Jul 08 2015
ALSA: hda: Delete an unnecessary check before the function call « kobject_put »
Author: Markus Elfring <elfring@users.sourceforge.net> The kobject_put() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Takashi Iwai — sound/hda/hdac_sysfs.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-) diff …