Skip to content
Commit 2be4ac3d authored by Andre Edich's avatar Andre Edich Committed by Greg Kroah-Hartman
Browse files

smsc95xx: use usbnet->driver_priv



[ Upstream commit ad90a73f ]

Using `void *driver_priv` instead of `unsigned long data[]` is more
straightforward way to recover the `struct smsc95xx_priv *` from the
`struct net_device *`.

Signed-off-by: default avatarAndre Edich <andre.edich@microchip.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Stable-dep-of: 52a2f060 ("net: usb: smsc95xx: fix changing LED_SEL bit value updated from EEPROM")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent a4ecfe6a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment