commit | 5e520edd91f0cd52f8f9f855bc2c1558e85d30da | [log] [tgz] |
---|---|---|
author | Faiz Abbas <faiz_abbas@ti.com> | Tue Jan 16 17:07:12 2018 +0530 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Tue Jan 16 15:11:33 2018 +0100 |
tree | b7d0660465b3fe427f56e919925ec3d87a798449 | |
parent | b25abca6aa4fd2fcdafc214d489ccd57df67e88e [diff] |
can: m_can: Move allocation of net device to probe With the version no longer required to allocate the net device, it can be moved to probe and the alloc_m_can_dev() function can be simplified. Therefore, move the allocation of net device to probe and change alloc_m_can_dev() to setup_m_can_dev(). Signed-off-by: Faiz Abbas <faiz_abbas@ti.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>