diff options
author | Chuhong Yuan <hslester96@gmail.com> | 2019-07-24 21:17:58 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-04 12:43:44 +0200 |
commit | 76b4106c4b4843d4815c5d0bd3352f662ae586d8 (patch) | |
tree | 605965cefbfb5474a660ce009e24ea55c3a52f6b /drivers/tty/nozomi.c | |
parent | 95604220cec8eb5bcde9041625ae8570f1077da6 (diff) | |
download | lwn-76b4106c4b4843d4815c5d0bd3352f662ae586d8.tar.gz lwn-76b4106c4b4843d4815c5d0bd3352f662ae586d8.zip |
serial: 8250: Use dev_get_drvdata where possible
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/20190724131758.1764-1-hslester96@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/nozomi.c')
0 files changed, 0 insertions, 0 deletions