serial: tegra_hsuart: Fix void return type on writel accessors
authorColin Cross <ccross@google.com>
Mon, 2 Aug 2010 03:05:38 +0000 (20:05 -0700)
committerColin Cross <ccross@android.com>
Wed, 6 Oct 2010 23:28:08 +0000 (16:28 -0700)
Signed-off-by: Colin Cross <ccross@google.com>
drivers/serial/tegra_hsuart.c

index 1ed206fb4c766f6d91c622553ffacd755bbd9f09..2433a85552709f6fe1e68ede58cae9c42f55751d 100644 (file)
@@ -117,20 +117,20 @@ static inline u8 uart_readb(struct tegra_uart_port *t, unsigned long reg)
        return val;
 }
 
-static inline u8 uart_writeb(struct tegra_uart_port *t, u8 val,
+static inline void uart_writeb(struct tegra_uart_port *t, u8 val,
        unsigned long reg)
 {
        dev_vdbg(t->uport.dev, "%s: %p %03lx %02x\n",
                __func__, t->uport.membase, reg << t->uport.regshift, val);
-       return writeb(val, t->uport.membase + (reg << t->uport.regshift));
+       writeb(val, t->uport.membase + (reg << t->uport.regshift));
 }
 
-static inline u8 uart_writel(struct tegra_uart_port *t, u32 val,
+static inline void uart_writel(struct tegra_uart_port *t, u32 val,
        unsigned long reg)
 {
        dev_vdbg(t->uport.dev, "%s: %p %03lx %08x\n",
                __func__, t->uport.membase, reg << t->uport.regshift, val);
-       return writel(val, t->uport.membase + (reg << t->uport.regshift));
+       writel(val, t->uport.membase + (reg << t->uport.regshift));
 }
 
 static void tegra_set_baudrate(struct tegra_uart_port *t, unsigned int baud);