Commit 50743f4c authored by Alex Dubov's avatar Alex Dubov Committed by Pierre Ossman

Remove unused return value from signal_irq callback

Signed-off-by: default avatarAlex Dubov <oakad@yahoo.com>
Signed-off-by: default avatarPierre Ossman <drzeus@drzeus.cx>
parent 2e8ce5e7
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
#include <linux/dma-mapping.h> #include <linux/dma-mapping.h>
#define DRIVER_NAME "tifm_7xx1" #define DRIVER_NAME "tifm_7xx1"
#define DRIVER_VERSION "0.6" #define DRIVER_VERSION "0.7"
static void tifm_7xx1_eject(struct tifm_adapter *fm, struct tifm_dev *sock) static void tifm_7xx1_eject(struct tifm_adapter *fm, struct tifm_dev *sock)
{ {
...@@ -91,7 +91,7 @@ static irqreturn_t tifm_7xx1_isr(int irq, void *dev_id) ...@@ -91,7 +91,7 @@ static irqreturn_t tifm_7xx1_isr(int irq, void *dev_id)
if (fm->sockets[cnt]) { if (fm->sockets[cnt]) {
if (sock_irq_status && if (sock_irq_status &&
fm->sockets[cnt]->signal_irq) fm->sockets[cnt]->signal_irq)
sock_irq_status = fm->sockets[cnt]-> fm->sockets[cnt]->
signal_irq(fm->sockets[cnt], signal_irq(fm->sockets[cnt],
sock_irq_status); sock_irq_status);
......
...@@ -323,7 +323,7 @@ change_state: ...@@ -323,7 +323,7 @@ change_state:
} }
/* Called from interrupt handler */ /* Called from interrupt handler */
static unsigned int tifm_sd_signal_irq(struct tifm_dev *sock, static void tifm_sd_signal_irq(struct tifm_dev *sock,
unsigned int sock_irq_status) unsigned int sock_irq_status)
{ {
struct tifm_sd *host; struct tifm_sd *host;
...@@ -395,7 +395,6 @@ done: ...@@ -395,7 +395,6 @@ done:
dev_dbg(&sock->dev, "host_status %x, fifo_status %x\n", dev_dbg(&sock->dev, "host_status %x, fifo_status %x\n",
host_status, fifo_status); host_status, fifo_status);
spin_unlock(&sock->lock); spin_unlock(&sock->lock);
return sock_irq_status;
} }
static void tifm_sd_prepare_data(struct tifm_sd *host, struct mmc_command *cmd) static void tifm_sd_prepare_data(struct tifm_sd *host, struct mmc_command *cmd)
......
...@@ -91,7 +91,7 @@ struct tifm_dev { ...@@ -91,7 +91,7 @@ struct tifm_dev {
tifm_media_id media_id; tifm_media_id media_id;
unsigned int socket_id; unsigned int socket_id;
unsigned int (*signal_irq)(struct tifm_dev *sock, void (*signal_irq)(struct tifm_dev *sock,
unsigned int sock_irq_status); unsigned int sock_irq_status);
struct tifm_driver *drv; struct tifm_driver *drv;
......
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