net: dsa: lan9303: Simplify lan9303_xxx_packet_processing() usage
authorEgil Hjelmeland <privat@egil-hjelmeland.no>
Sat, 5 Aug 2017 11:05:48 +0000 (13:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Aug 2017 21:18:01 +0000 (14:18 -0700)
commitb3d14a2b2f988aad27152d7d3b5e4af2f4b69914
treece3ccfcc2c1370d57e8a775bc8dc0184a707954d
parenta368ca537889d6baff24fd05a903c3625f2906cc
net: dsa: lan9303: Simplify lan9303_xxx_packet_processing() usage

Simplify usage of lan9303_enable_packet_processing,
lan9303_disable_packet_processing()

Signed-off-by: Egil Hjelmeland <privat@egil-hjelmeland.no>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/lan9303-core.c