diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2021-06-11 14:55:58 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-06-13 17:00:17 +0100 |
commit | 93466212b9329616af2e4c7e5994d507d72e254d (patch) | |
tree | dbf89acca482b3e9a3dbd87d89ab98f85b297b20 /drivers/counter/counter.c | |
parent | ac3bd9d6b11f6e7ddea30d3779b9c5d870b4ddfb (diff) |
counter: intel-qep: Use to_pci_dev() helper
Use to_pci_dev() helper instead of container_of(d, struct pci_dev, dev);
Suggested-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Acked-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Link: https://lore.kernel.org/r/20210611115558.796338-2-jarkko.nikula@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/counter/counter.c')
0 files changed, 0 insertions, 0 deletions