]> asedeno.scripts.mit.edu Git - linux.git/commit
net: phy: dp83867: Allocate state struct in probe
authorTrent Piepho <tpiepho@impinj.com>
Wed, 22 May 2019 18:43:27 +0000 (18:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 May 2019 00:40:18 +0000 (17:40 -0700)
commit565d9d221bcb4cae926585681089b3ba4ef9be8e
tree4d6795c0850b14fe7b12211449c963ab7f384a25
parentf8bbf417e58b9933b49f1f7fa28ce85ad5d32a31
net: phy: dp83867: Allocate state struct in probe

This was being done in config the first time the phy was configured.
Should be in the probe method.

Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Trent Piepho <tpiepho@impinj.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/dp83867.c