Re: [PATCH v4 21/24] i2c: designware: Use pci_get_drvdata()

From: Andi Shyti
Date: Wed Nov 29 2023 - 18:11:07 EST


Hi Andy,

On Mon, Nov 20, 2023 at 04:42:03PM +0200, Andy Shevchenko wrote:
> 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.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>

Reviewed-by: Andi Shyti <andi.shyti@xxxxxxxxxx>

Thanks,
Andi