diff options
author | Chuhong Yuan <hslester96@gmail.com> | 2019-07-24 21:18:25 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-04 12:43:44 +0200 |
commit | 18b1345e60ae8887d914e83f535962cd3bb1c1be (patch) | |
tree | e9438ccde6e6f1b7ac009d9f885dde5e1dfba9bb /drivers/zorro | |
parent | 76b4106c4b4843d4815c5d0bd3352f662ae586d8 (diff) | |
download | lwn-18b1345e60ae8887d914e83f535962cd3bb1c1be.tar.gz lwn-18b1345e60ae8887d914e83f535962cd3bb1c1be.zip |
tty: nozomi: 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/20190724131825.1875-1-hslester96@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/zorro')
0 files changed, 0 insertions, 0 deletions