Skip to content
Commit 93466212 authored by Jarkko Nikula's avatar Jarkko Nikula Committed by Jonathan Cameron
Browse files

counter: intel-qep: Use to_pci_dev() helper



Use to_pci_dev() helper instead of container_of(d, struct pci_dev, dev);

Suggested-by: default avatarJonathan Cameron <jic23@kernel.org>
Signed-off-by: default avatarJarkko Nikula <jarkko.nikula@linux.intel.com>
Acked-by: default avatarWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Link: https://lore.kernel.org/r/20210611115558.796338-2-jarkko.nikula@linux.intel.com


Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent ac3bd9d6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment