提交 fba6f911 编写于 作者: M Marc Kleine-Budde

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: NMarc Kleine-Budde <mkl@pengutronix.de>
上级 c637aab0
...@@ -312,8 +312,8 @@ static inline u32 m_can_fifo_read(const struct m_can_priv *priv, ...@@ -312,8 +312,8 @@ static inline u32 m_can_fifo_read(const struct m_can_priv *priv,
static inline void m_can_fifo_write(const struct m_can_priv *priv, static inline void m_can_fifo_write(const struct m_can_priv *priv,
u32 fpi, unsigned int offset, u32 val) u32 fpi, unsigned int offset, u32 val)
{ {
return writel(val, priv->mram_base + priv->mcfg[MRAM_TXB].off + writel(val, priv->mram_base + priv->mcfg[MRAM_TXB].off +
fpi * TXB_ELEMENT_SIZE + offset); fpi * TXB_ELEMENT_SIZE + offset);
} }
static inline void m_can_config_endisable(const struct m_can_priv *priv, static inline void m_can_config_endisable(const struct m_can_priv *priv,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册