summaryrefslogtreecommitdiff
path: root/drivers/mfd/wm5110-tables.c
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2018-07-19 12:43:51 +0200
committerDavid S. Miller <davem@davemloft.net>2018-07-21 10:12:29 -0700
commitd3d1b205e89f1e4194b9f8924022c77ea749d113 (patch)
tree575b7890dee4c90605ce91c931c1e456ccd15d90 /drivers/mfd/wm5110-tables.c
parentaddc5ee87242a3592fdc9134ddff54c7aa372805 (diff)
s390/qeth: allocate netdevice early
Allocation of the netdevice is currently delayed until a qeth card first goes online. This complicates matters in several places, where we need to cache values instead of applying them straight to the netdevice. Improve on this by moving the allocation up to where the qeth card itself is created. This is also one step in direction of eventually placing the qeth card into netdev_priv(). In all subsequent code, remove the now redundant checks whether card->dev is valid. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/mfd/wm5110-tables.c')
0 files changed, 0 insertions, 0 deletions