diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2015-03-14 10:39:09 -0400 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2015-03-22 18:50:11 -0400 |
commit | fba6f9117a3d87a269fc3b174127c99f25f4979e (patch) | |
tree | 94f1f6eeff70d8c97c611776f39f270886cd2cf4 /drivers/net/can | |
parent | c637aab05c9dd0894832a7c542a1553b2815b9ef (diff) |
can: m_cam: m_can_fifo_write(): remove return from void function
This patch removes the return from the void function m_can_fifo_write().
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can')
-rw-r--r-- | drivers/net/can/m_can/m_can.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/can/m_can/m_can.c b/drivers/net/can/m_can/m_can.c index 2e04b3aeeb37..ef655177bb5e 100644 --- a/drivers/net/can/m_can/m_can.c +++ b/drivers/net/can/m_can/m_can.c | |||
@@ -312,8 +312,8 @@ static inline u32 m_can_fifo_read(const struct m_can_priv *priv, | |||
312 | static inline void m_can_fifo_write(const struct m_can_priv *priv, | 312 | static inline void m_can_fifo_write(const struct m_can_priv *priv, |
313 | u32 fpi, unsigned int offset, u32 val) | 313 | u32 fpi, unsigned int offset, u32 val) |
314 | { | 314 | { |
315 | return writel(val, priv->mram_base + priv->mcfg[MRAM_TXB].off + | 315 | writel(val, priv->mram_base + priv->mcfg[MRAM_TXB].off + |
316 | fpi * TXB_ELEMENT_SIZE + offset); | 316 | fpi * TXB_ELEMENT_SIZE + offset); |
317 | } | 317 | } |
318 | 318 | ||
319 | static inline void m_can_config_endisable(const struct m_can_priv *priv, | 319 | static inline void m_can_config_endisable(const struct m_can_priv *priv, |