diff options
author | Faiz Abbas | 2018-01-16 12:37:12 +0100 |
---|---|---|
committer | Marc Kleine-Budde | 2018-01-16 15:11:33 +0100 |
commit | 5e520edd91f0cd52f8f9f855bc2c1558e85d30da (patch) | |
tree | b7d0660465b3fe427f56e919925ec3d87a798449 /kernel/ksysfs.c | |
parent | can: m_can: Remove check for version when allocating m_can net device (diff) | |
download | kernel-qcow2-linux-5e520edd91f0cd52f8f9f855bc2c1558e85d30da.tar.gz kernel-qcow2-linux-5e520edd91f0cd52f8f9f855bc2c1558e85d30da.tar.xz kernel-qcow2-linux-5e520edd91f0cd52f8f9f855bc2c1558e85d30da.zip |
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>
Diffstat (limited to 'kernel/ksysfs.c')
0 files changed, 0 insertions, 0 deletions