commit | ad07819f223e26b30cc5ec25a31d906db0788600 | [log] [tgz] |
---|---|---|
author | Marc Kleine-Budde <mkl@pengutronix.de> | Mon Aug 19 19:17:13 2019 +0200 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Tue Aug 20 13:41:25 2019 +0200 |
tree | 61425ee6ac56ab0e833c3be1c100951eb5c3ba68 | |
parent | 65668b32695652e81c86671f075ed45f9efcf0d7 [diff] |
can: tcan4x5x: remove not needed casts to struct tcan4x5x_priv * The struct m_can_classdev::device_data is a void pointer, so there's no need to cast it to struct tcan4x5x_priv *, when assigning the struct tcan4x5x_priv pointer. This patch removes the not needed casts from the tcan4x5x driver. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>