atm: Use dev_get_drvdata
authorChuhong Yuan <hslester96@gmail.com>
Tue, 23 Jul 2019 08:13:14 +0000 (16:13 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jul 2019 20:02:41 +0000 (13:02 -0700)
commitc349c0a28326c98ca145b59e0f7ba69e4eef3b80
treeff1bf4b8d0b6cadd7cd45b998d68da8abe846fb1
parent084323f62b0b976c9fd931d86c5d2553af5eb9f7
atm: Use dev_get_drvdata

Instead of using to_pci_dev + pci_get_drvdata,
use dev_get_drvdata to make code simpler.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/solos-pci.c