diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2011-03-24 11:31:17 -0400 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2011-03-29 08:48:13 -0400 |
| commit | fcb8918fd242f39496090dbbd6789ab24098295b (patch) | |
| tree | 7eea710d5b68df8268981eaa8a3d970c5e7c87ba /arch/sh/kernel/cpu | |
| parent | a821b2793ea958038687c481c1ea7f74c8fcccfd (diff) | |
sh: Convert to new function names
Scripted with coccinelle.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/sh/kernel/cpu')
| -rw-r--r-- | arch/sh/kernel/cpu/irq/imask.c | 4 | ||||
| -rw-r--r-- | arch/sh/kernel/cpu/irq/intc-sh5.c | 2 | ||||
| -rw-r--r-- | arch/sh/kernel/cpu/irq/ipr.c | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/arch/sh/kernel/cpu/irq/imask.c b/arch/sh/kernel/cpu/irq/imask.c index 32c825c9488..39b6a24c159 100644 --- a/arch/sh/kernel/cpu/irq/imask.c +++ b/arch/sh/kernel/cpu/irq/imask.c | |||
| @@ -80,6 +80,6 @@ static struct irq_chip imask_irq_chip = { | |||
| 80 | 80 | ||
| 81 | void make_imask_irq(unsigned int irq) | 81 | void make_imask_irq(unsigned int irq) |
| 82 | { | 82 | { |
| 83 | set_irq_chip_and_handler_name(irq, &imask_irq_chip, | 83 | irq_set_chip_and_handler_name(irq, &imask_irq_chip, handle_level_irq, |
| 84 | handle_level_irq, "level"); | 84 | "level"); |
| 85 | } | 85 | } |
diff --git a/arch/sh/kernel/cpu/irq/intc-sh5.c b/arch/sh/kernel/cpu/irq/intc-sh5.c index 5af48f8357e..9e056a3a0c7 100644 --- a/arch/sh/kernel/cpu/irq/intc-sh5.c +++ b/arch/sh/kernel/cpu/irq/intc-sh5.c | |||
| @@ -135,7 +135,7 @@ void __init plat_irq_setup(void) | |||
| 135 | 135 | ||
| 136 | /* Set default: per-line enable/disable, priority driven ack/eoi */ | 136 | /* Set default: per-line enable/disable, priority driven ack/eoi */ |
| 137 | for (i = 0; i < NR_INTC_IRQS; i++) | 137 | for (i = 0; i < NR_INTC_IRQS; i++) |
| 138 | set_irq_chip_and_handler(i, &intc_irq_type, handle_level_irq); | 138 | irq_set_chip_and_handler(i, &intc_irq_type, handle_level_irq); |
| 139 | 139 | ||
| 140 | 140 | ||
| 141 | /* Disable all interrupts and set all priorities to 0 to avoid trouble */ | 141 | /* Disable all interrupts and set all priorities to 0 to avoid trouble */ |
diff --git a/arch/sh/kernel/cpu/irq/ipr.c b/arch/sh/kernel/cpu/irq/ipr.c index 7516c35ee51..5de6dff5c21 100644 --- a/arch/sh/kernel/cpu/irq/ipr.c +++ b/arch/sh/kernel/cpu/irq/ipr.c | |||
| @@ -74,9 +74,9 @@ void register_ipr_controller(struct ipr_desc *desc) | |||
| 74 | } | 74 | } |
| 75 | 75 | ||
| 76 | disable_irq_nosync(p->irq); | 76 | disable_irq_nosync(p->irq); |
| 77 | set_irq_chip_and_handler_name(p->irq, &desc->chip, | 77 | irq_set_chip_and_handler_name(p->irq, &desc->chip, |
| 78 | handle_level_irq, "level"); | 78 | handle_level_irq, "level"); |
| 79 | set_irq_chip_data(p->irq, p); | 79 | irq_set_chip_data(p->irq, p); |
| 80 | disable_ipr_irq(irq_get_irq_data(p->irq)); | 80 | disable_ipr_irq(irq_get_irq_data(p->irq)); |
| 81 | } | 81 | } |
| 82 | } | 82 | } |
