diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2018-04-22 17:15:15 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-23 11:59:22 -0400 |
commit | 22148df0d0bdbd5d1cca4e069e17bf49b070498f (patch) | |
tree | e1c3eafaf32f20f8b5ae69a238cce77e2f4426d1 /Documentation/gpio | |
parent | c6849a3ac17e336811f1d5bba991d2a9bdc47af1 (diff) |
r8169: don't use netif_info et al before net_device has been registered
There's no benefit in using netif_info et al before the net_device has
been registered. We get messages like
r8169 0000:03:00.0 (unnamed net_device) (uninitialized): [message]
Therefore use dev_info/dev_err instead.
As a side effect we don't need parameter dev for function
rtl8169_get_mac_version() any longer.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/gpio')
0 files changed, 0 insertions, 0 deletions