@@ -594,10 +594,6 @@ static int __init tahvo_usb_probe(struct platform_device *pdev)
int ret;
int irq;
- ret = tahvo_get_status();
- if (!ret)
- return -ENODEV;
-
dev_dbg(dev, "probe\n");
/* Create driver data */
@@ -59,12 +59,6 @@ struct tahvo {
static struct tahvo *the_tahvo;
-int tahvo_get_status(void)
-{
- return the_tahvo != NULL;
-}
-EXPORT_SYMBOL(tahvo_get_status);
-
/**
* __tahvo_read_reg - Reads a value from a register in Tahvo
* @tahvo: pointer to tahvo structure
@@ -50,7 +50,6 @@
#define MAX_TAHVO_IRQ_HANDLERS 8
-int tahvo_get_status(void);
int tahvo_read_reg(unsigned reg);
void tahvo_write_reg(unsigned reg, u16 val);
void tahvo_set_clear_reg_bits(unsigned reg, u16 set, u16 clear);
that's really not needed. Signed-off-by: Felipe Balbi <balbi@ti.com> --- drivers/cbus/tahvo-usb.c | 4 ---- drivers/cbus/tahvo.c | 6 ------ drivers/cbus/tahvo.h | 1 - 3 files changed, 0 insertions(+), 11 deletions(-)