Catégorie : Linux

powerpc: Use proper accessors for IRQ_* flags

Author: Thomas Gleixner <tglx@linutronix.de> Use the proper accessors instead of open access to irq_desc. Converted with coccinelle. Signed-off-by: Thomas Gleixner — arch/powerpc/kernel/irq.c | 2 +- arch/powerpc/kernel/machine_kexec.c | 4 ++– arch/powerpc/platforms/512x/mpc5121_ads_cpld.c | 2 +- arch/powerpc/platforms/52xx/media5200.c | 2 +- arch/powerpc/platforms/82xx/pq2ads-pci-pic.c | 2 +- arch/powerpc/platforms/85xx/socrates_fpga_pic.c | 2 +- arch/powerpc/platforms/86xx/gef_pic.c | 2 +- arch/powerpc/platforms/cell/beat_interrupt.c | 3 +– arch/powerpc/platforms/embedded6xx/flipper-pic.c | …

Lire la suite

tile: Convert to new irq function names

Author: Thomas Gleixner <tglx@linutronix.de> Converted with coccinelle. Signed-off-by: Thomas Gleixner Acked-by: Chris Metcalf LKML-Reference: — arch/tile/kernel/irq.c | 6 +++— 1 file changed, 3 insertions(+), 3 deletions(-)   diff –git a/arch/tile/kernel/irq.c b/arch/tile/kernel/irq.c index 0baa758..8330282 100644 — a/arch/tile/kernel/irq.c +++ b/arch/tile/kernel/irq.c @@ -241,14 +241,14 @@ void tile_irq_activate(unsigned int irq, int tile_irq_type) irq_flow_handler_t handle = handle_level_irq; if (tile_irq_type == …

Lire la suite

score: Convert to new irq function names

Author: Thomas Gleixner <tglx@linutronix.de> Scripted with coccinelle. Signed-off-by: Thomas Gleixner Acked-by: Chen Liqin — arch/score/kernel/irq.c | 4 ++– 1 file changed, 2 insertions(+), 2 deletions(-)   diff –git a/arch/score/kernel/irq.c b/arch/score/kernel/irq.c index ee68ec6..601a566 100644 — a/arch/score/kernel/irq.c +++ b/arch/score/kernel/irq.c @@ -92,7 +92,7 @@ void __init init_IRQ(void) unsigned long target_addr;   for (index = 0; index < NR_IRQS; …

Lire la suite

mfd: Fold irq_set_chip/irq_set_handler

Author: Thomas Gleixner <tglx@linutronix.de> Use the combined irq_set_chip_and_handler() function instead. Converted with coccinelle. Signed-off-by: Thomas Gleixner Signed-off-by: Samuel Ortiz — drivers/mfd/asic3.c | 3 +– drivers/mfd/htc-egpio.c | 7 +++—- drivers/mfd/htc-i2cpld.c | 4 ++– drivers/mfd/t7l66xb.c | 3 +– drivers/mfd/tc6393xb.c | 3 +– 5 files changed, 8 insertions(+), 12 deletions(-)   diff –git a/drivers/mfd/asic3.c b/drivers/mfd/asic3.c index 22b5a78..d4a851c 100644 …

Lire la suite

mfd: Cleanup irq namespace

Author: Thomas Gleixner <tglx@linutronix.de> Converted with coccinelle. Signed-off-by: Thomas Gleixner Acked-by: Mark Brown Signed-off-by: Samuel Ortiz — drivers/mfd/88pm860x-core.c | 8 ++++—- drivers/mfd/ab3550-core.c | 12 ++++++—— drivers/mfd/ab8500-core.c | 12 ++++++—— drivers/mfd/asic3.c | 22 +++++++++++———– drivers/mfd/ezx-pcap.c | 20 ++++++++++———- drivers/mfd/htc-egpio.c | 18 +++++++++——— drivers/mfd/htc-i2cpld.c | 8 ++++—- drivers/mfd/jz4740-adc.c | 16 ++++++++——– drivers/mfd/max8925-core.c | 8 ++++—- drivers/mfd/max8998-irq.c | …

Lire la suite

xen: Convert genirq namespace

Author: Thomas Gleixner <tglx@linutronix.de> Converted with coccinelle. Signed-off-by: Thomas Gleixner Acked-by: Ian Campbell Signed-off-by: Konrad Rzeszutek Wilk — drivers/xen/events.c | 22 +++++++++++———– 1 file changed, 11 insertions(+), 11 deletions(-)   diff –git a/drivers/xen/events.c b/drivers/xen/events.c index 02b5a9c..0e7e394 100644 — a/drivers/xen/events.c +++ b/drivers/xen/events.c @@ -122,7 +122,7 @@ static struct irq_chip xen_pirq_chip; /* Get info for IRQ */ …

Lire la suite

xen: Cleanup genirq namespace

Author: Thomas Gleixner <tglx@linutronix.de> Converted with coccinelle. Signed-off-by: Thomas Gleixner — drivers/xen/events.c | 22 +++++++++++———– 1 file changed, 11 insertions(+), 11 deletions(-)   diff –git a/drivers/xen/events.c b/drivers/xen/events.c index 02b5a9c..0e7e394 100644 — a/drivers/xen/events.c +++ b/drivers/xen/events.c @@ -122,7 +122,7 @@ static struct irq_chip xen_pirq_chip; /* Get info for IRQ */ static struct irq_info *info_for_irq(unsigned irq) { – …

Lire la suite

gpio: Fold irq_set_chip/irq_set_handler to irq_set_chip_and_handler

Author: Thomas Gleixner <tglx@linutronix.de> Converted with coccinelle. Signed-off-by: Thomas Gleixner Acked-by: Grant Likely LKML-Reference: — drivers/gpio/pl061.c | 4 ++– drivers/gpio/sx150x.c | 3 +– 2 files changed, 3 insertions(+), 4 deletions(-)   diff –git a/drivers/gpio/pl061.c b/drivers/gpio/pl061.c index 901e4e0..6fcb28c 100644 — a/drivers/gpio/pl061.c +++ b/drivers/gpio/pl061.c @@ -315,8 +315,8 @@ static int pl061_probe(struct amba_device *dev, const struct amba_id *id) …

Lire la suite

gpio: Cleanup genirq namespace

Author: Thomas Gleixner <tglx@linutronix.de> Converted with coccinelle. Signed-off-by: Thomas Gleixner Acked-by: Grant Likely LKML-Reference: Signed-off-by: Thomas Gleixner — drivers/gpio/adp5588-gpio.c | 8 ++++—- drivers/gpio/max732x.c | 8 ++++—- drivers/gpio/pca953x.c | 6 +++— drivers/gpio/pl061.c | 14 +++++++——- drivers/gpio/stmpe-gpio.c | 12 ++++++—— drivers/gpio/sx150x.c | 10 +++++—– drivers/gpio/tc3589x-gpio.c | 12 ++++++—— drivers/gpio/timbgpio.c | 18 +++++++++——— drivers/gpio/vr41xx_giu.c | 12 ++++++—— 9 …

Lire la suite

unicore32: Convert to new irq function names

Author: Thomas Gleixner <tglx@linutronix.de> Scripted with coccinelle. Signed-off-by: Thomas Gleixner — arch/unicore32/kernel/irq.c | 16 ++++++++——– 1 file changed, 8 insertions(+), 8 deletions(-)   diff –git a/arch/unicore32/kernel/irq.c b/arch/unicore32/kernel/irq.c index b23624c..a6ee47f 100644 — a/arch/unicore32/kernel/irq.c +++ b/arch/unicore32/kernel/irq.c @@ -321,24 +321,24 @@ void __init init_IRQ(void) writel(1, INTC_ICCR);   for (irq = 0; irq < IRQ_GPIOHIGH; irq++) { – set_irq_chip(irq, …

Lire la suite

BtrLinux
Résumé de la politique de confidentialité

Ce site utilise des cookies afin que nous puissions vous fournir la meilleure expérience utilisateur possible. Les informations sur les cookies sont stockées dans votre navigateur et remplissent des fonctions telles que vous reconnaître lorsque vous revenez sur notre site Web et aider notre équipe à comprendre les sections du site que vous trouvez les plus intéressantes et utiles.