mailbox/omap: remove omap_mbox_type_t from mailbox ops
authorSuman Anna <s-anna@ti.com>
Wed, 25 Jun 2014 00:43:39 +0000 (19:43 -0500)
committerTony Lindgren <tony@atomide.com>
Tue, 29 Jul 2014 08:57:25 +0000 (01:57 -0700)
The type definition omap_mbox_type_t used for distinguishing
OMAP1 from OMAP2+ mailboxes is no longer needed after the
removal of OMAP1 mailbox driver, and has therefore been
cleaned up. This cleanup also eliminates the need for the
polling logic used for checking the transmit readiness.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/mailbox/mailbox-omap2.c
drivers/mailbox/omap-mailbox.c
drivers/mailbox/omap-mbox.h

index 75fbc90..b44e3bc 100644 (file)
@@ -205,7 +205,6 @@ static void omap2_mbox_restore_ctx(struct omap_mbox *mbox)
 }
 
 static struct omap_mbox_ops omap2_mbox_ops = {
-       .type           = OMAP_MBOX_TYPE2,
        .startup        = omap2_mbox_startup,
        .shutdown       = omap2_mbox_shutdown,
        .fifo_read      = omap2_mbox_fifo_read,
Simple merge
Simple merge