diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-09-10 19:28:46 +0300 |
---|---|---|
committer | Andi Shyti <andi.shyti@kernel.org> | 2024-09-11 12:52:46 +0200 |
commit | f56f4ba2fc1dbefd3242946f2fad35338a60e3bc (patch) | |
tree | d887202f6ebe1f4aa0ed3f5b61c6d1ebb20e4c52 /Documentation/rust | |
parent | a6e690b0f784d70779ed23b76cf02a6b1cd23984 (diff) |
i2c: designware: Use pci_get_drvdata()
Use the wrapper function for getting the driver data using pci_dev
instead of using dev_get_drvdata() with &pdev->dev, so we can directly
pass a struct pci_dev. This is a purely cosmetic change.
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'Documentation/rust')
0 files changed, 0 insertions, 0 deletions