diff options
author | Chuhong Yuan <hslester96@gmail.com> | 2019-07-23 20:46:49 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-07-25 10:06:54 +0200 |
commit | db4ad308a50620c8a24419dcc6556fabaf594c0e (patch) | |
tree | 3a9572ee36686f8d8764c84b6474b379c41628b5 /drivers/hwtracing | |
parent | 2495aeeca24df3dac97ebd9722862b0d96aee852 (diff) | |
download | linux-db4ad308a50620c8a24419dcc6556fabaf594c0e.tar.bz2 |
misc: alcor_pci: 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>
Link: https://lore.kernel.org/r/20190723124649.24728-1-hslester96@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwtracing')
0 files changed, 0 insertions, 0 deletions