Commit 229b59cd authored by Tony Lindgren's avatar Tony Lindgren

Sync with mainline: Get rid of unnecessary pt_regs

Get rid of unnecessary pt_regs.
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent f16a6085
...@@ -2417,8 +2417,7 @@ static DECLARE_WORK(mmu_int_work, (void (*)(void *))do_mmu_int, NULL); ...@@ -2417,8 +2417,7 @@ static DECLARE_WORK(mmu_int_work, (void (*)(void *))do_mmu_int, NULL);
* DSP MMU interrupt handler * DSP MMU interrupt handler
*/ */
static irqreturn_t dsp_mmu_interrupt(int irq, void *dev_id, static irqreturn_t dsp_mmu_interrupt(int irq, void *dev_id)
struct pt_regs *regs)
{ {
disable_irq(omap_dsp->mmu_irq); disable_irq(omap_dsp->mmu_irq);
schedule_work(&mmu_int_work); schedule_work(&mmu_int_work);
......
...@@ -182,7 +182,7 @@ static ssize_t gpio_sw_direction_show(struct device *dev, ...@@ -182,7 +182,7 @@ static ssize_t gpio_sw_direction_show(struct device *dev,
static DEVICE_ATTR(direction, S_IRUGO, gpio_sw_direction_show, NULL); static DEVICE_ATTR(direction, S_IRUGO, gpio_sw_direction_show, NULL);
static irqreturn_t gpio_sw_irq_handler(int irq, void *arg, struct pt_regs *regs) static irqreturn_t gpio_sw_irq_handler(int irq, void *arg)
{ {
struct gpio_switch *sw = arg; struct gpio_switch *sw = arg;
unsigned long timeout; unsigned long timeout;
......
...@@ -134,7 +134,7 @@ static void mbox_msg_receiver(void *p) ...@@ -134,7 +134,7 @@ static void mbox_msg_receiver(void *p)
/* /*
* Mailbox interrupt handler * Mailbox interrupt handler
*/ */
static irqreturn_t mbox_interrupt(int irq, void *p, struct pt_regs *regs) static irqreturn_t mbox_interrupt(int irq, void *p)
{ {
mbox_msg_t msg; mbox_msg_t msg;
struct omap_mbox *mbox = (struct omap_mbox *)p; struct omap_mbox *mbox = (struct omap_mbox *)p;
......
...@@ -135,7 +135,7 @@ EXPORT_SYMBOL(sti_free_irq); ...@@ -135,7 +135,7 @@ EXPORT_SYMBOL(sti_free_irq);
* Unfortunately tasklets are too slow for the RX FIFO interrupt (and * Unfortunately tasklets are too slow for the RX FIFO interrupt (and
* possibly some others), so we just do the irqdesc walking here. * possibly some others), so we just do the irqdesc walking here.
*/ */
static irqreturn_t sti_interrupt(int irq, void *dev_id, struct pt_regs *regs) static irqreturn_t sti_interrupt(int irq, void *dev_id)
{ {
int ret = IRQ_NONE; int ret = IRQ_NONE;
u16 status; u16 status;
......
...@@ -111,7 +111,7 @@ static struct platform_device tahvo_usb_device; ...@@ -111,7 +111,7 @@ static struct platform_device tahvo_usb_device;
*/ */
static struct platform_device *tahvo_otg_dev; static struct platform_device *tahvo_otg_dev;
static irqreturn_t omap_otg_irq(int irq, void *arg, struct pt_regs *regs) static irqreturn_t omap_otg_irq(int irq, void *arg)
{ {
struct platform_device *otg_dev = (struct platform_device *) arg; struct platform_device *otg_dev = (struct platform_device *) arg;
struct tahvo_usb *tu = (struct tahvo_usb *) otg_dev->dev.driver_data; struct tahvo_usb *tu = (struct tahvo_usb *) otg_dev->dev.driver_data;
......
...@@ -105,7 +105,7 @@ static void omap_ts_timer(unsigned long data) ...@@ -105,7 +105,7 @@ static void omap_ts_timer(unsigned long data)
spin_unlock_irqrestore(&ts_omap.lock, flags); spin_unlock_irqrestore(&ts_omap.lock, flags);
} }
static irqreturn_t omap_ts_handler(int irq, void *dev_id, struct pt_regs *regs) static irqreturn_t omap_ts_handler(int irq, void *dev_id)
{ {
spin_lock(&ts_omap.lock); spin_lock(&ts_omap.lock);
......
...@@ -243,7 +243,7 @@ omap16xx_cam_dma_link_callback(int lch, unsigned short ch_status, void *data) ...@@ -243,7 +243,7 @@ omap16xx_cam_dma_link_callback(int lch, unsigned short ch_status, void *data)
} }
static irqreturn_t static irqreturn_t
omap16xx_cam_isr(int irq, void *client_data, struct pt_regs *regs) omap16xx_cam_isr(int irq, void *client_data)
{ {
struct omap16xxcam *data = (struct omap16xxcam *)client_data; struct omap16xxcam *data = (struct omap16xxcam *)client_data;
unsigned int itstat = data->camera_regs->it_status; unsigned int itstat = data->camera_regs->it_status;
......
...@@ -124,7 +124,7 @@ static void rtc_wait_not_busy(void) ...@@ -124,7 +124,7 @@ static void rtc_wait_not_busy(void)
/* now we have ~15 usec to read/write various registers */ /* now we have ~15 usec to read/write various registers */
} }
static irqreturn_t rtc_irq(int irq, void *class_dev, struct pt_regs *regs) static irqreturn_t rtc_irq(int irq, void *class_dev)
{ {
unsigned long events = 0; unsigned long events = 0;
u8 irq_data; u8 irq_data;
......
...@@ -833,7 +833,7 @@ void omap_dispc_free_irq(void) ...@@ -833,7 +833,7 @@ void omap_dispc_free_irq(void)
} }
EXPORT_SYMBOL(omap_dispc_free_irq); EXPORT_SYMBOL(omap_dispc_free_irq);
static irqreturn_t omap_dispc_irq_handler(int irq, void *dev, struct pt_regs *regs) static irqreturn_t omap_dispc_irq_handler(int irq, void *dev)
{ {
u32 stat = dispc_read_reg(DISPC_IRQSTATUS); u32 stat = dispc_read_reg(DISPC_IRQSTATUS);
static int jabber; static int jabber;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment