we have the IRQ chip which is the standard
way of handling IRQs.
Signed-off-by: Felipe Balbi <[email protected]>
---
drivers/cbus/tahvo.c | 34 ----------------------------------
1 files changed, 0 insertions(+), 34 deletions(-)
diff --git a/drivers/cbus/tahvo.c b/drivers/cbus/tahvo.c
index 2597672..8192a24 100644
--- a/drivers/cbus/tahvo.c
+++ b/drivers/cbus/tahvo.c
@@ -129,40 +129,6 @@ void tahvo_set_clear_reg_bits(unsigned reg, u16 set, u16
clear)
mutex_unlock(&tahvo->mutex);
}
-void tahvo_disable_irq(int id)
-{
- struct tahvo *tahvo = the_tahvo;
- u16 mask;
-
- mutex_lock(&tahvo->mutex);
- mask = __tahvo_read_reg(tahvo, TAHVO_REG_IMR);
- mask |= 1 << id;
- __tahvo_write_reg(tahvo, TAHVO_REG_IMR, mask);
- mutex_unlock(&tahvo->mutex);
-}
-EXPORT_SYMBOL(tahvo_disable_irq);
-
-void tahvo_enable_irq(int id)
-{
- struct tahvo *tahvo = the_tahvo;
- u16 mask;
-
- mutex_lock(&tahvo->mutex);
- mask = __tahvo_read_reg(tahvo, TAHVO_REG_IMR);
- mask &= ~(1 << id);
- __tahvo_write_reg(tahvo, TAHVO_REG_IMR, mask);
- mutex_unlock(&tahvo->mutex);
-}
-EXPORT_SYMBOL(tahvo_enable_irq);
-
-void tahvo_ack_irq(int id)
-{
- struct tahvo *tahvo = the_tahvo;
-
- __tahvo_write_reg(tahvo, TAHVO_REG_IDR, 1 << id);
-}
-EXPORT_SYMBOL(tahvo_ack_irq);
-
int tahvo_get_backlight_level(void)
{
struct tahvo *tahvo = the_tahvo;
--
1.7.6.396.ge0613
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html