summaryrefslogtreecommitdiffstats
path: root/kernel/ksysfs.c
diff options
context:
space:
mode:
authorFaiz Abbas2018-01-16 12:37:12 +0100
committerMarc Kleine-Budde2018-01-16 15:11:33 +0100
commit5e520edd91f0cd52f8f9f855bc2c1558e85d30da (patch)
treeb7d0660465b3fe427f56e919925ec3d87a798449 /kernel/ksysfs.c
parentcan: m_can: Remove check for version when allocating m_can net device (diff)
downloadkernel-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