Searched hist:"7 a345dc19a7c01a04a2d7bcd79238389b0838b78" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/tty/serial/8250/ |
H A D | 8250_exar.c | diff 7a345dc19a7c01a04a2d7bcd79238389b0838b78 Mon Feb 19 16:04:58 CET 2024 Andy Shevchenko <andriy.shevchenko@linux.intel.com> serial: 8250_exar: Use dev_get_drvdata() directly in PM callbacks
PM callbacks take struct device pointer as a parameter, use dev_get_drvdata() to retrieve it instead of unneeded double loop of referencing via pci_get_drvdata(to_pci_dev(dev)).
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20240219150627.2101198-3-andriy.shevchenko@linux.intel.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|