diff options
author | Chuhong Yuan <hslester96@gmail.com> | 2019-07-23 16:39:24 +0800 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-07-23 18:59:05 +0300 |
commit | a7db285664dda63e066b943e6ec3c5f69473bf77 (patch) | |
tree | 29dad27d56ec43662d4d367c82cd88ab89ce4e45 /drivers/gpio/gpio-mvebu.c | |
parent | 5f9e832c137075045d15cd6899ab0505cfb2ca4b (diff) | |
download | talos-op-linux-a7db285664dda63e066b943e6ec3c5f69473bf77.tar.gz talos-op-linux-a7db285664dda63e066b943e6ec3c5f69473bf77.zip |
gpio: pch: 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>
Acked-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/gpio/gpio-mvebu.c')
0 files changed, 0 insertions, 0 deletions