can: m_can: Remove check for version when allocating m_can net device
authorFaiz Abbas <faiz_abbas@ti.com>
Wed, 10 Jan 2018 10:55:20 +0000 (16:25 +0530)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 16 Jan 2018 14:11:33 +0000 (15:11 +0100)
commitb25abca6aa4fd2fcdafc214d489ccd57df67e88e
tree13503df94160230f72dbf76f870c5a412a0d08c4
parente759c626d826649cf393da34cd59656d08afb52d
can: m_can: Remove check for version when allocating m_can net device

Currently the m_can version is used to set the tx_fifo_count to 1 when
allocating the net device. However, this is redundant as a value of 1
for the tx_fifo_count needs to be provided in the bosch,mram-cfg
property of the device tree node anyway.

Therefore, remove check for version when allocating the net device.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/m_can/m_can.c