Re: [PATCH] misc: Use dev_get_drvdata where possible

From: Greg Kroah-Hartman
Date: Tue Jul 23 2019 - 08:27:00 EST


On Tue, Jul 23, 2019 at 08:19:49PM +0800, Chuhong Yuan wrote:
> Instead of using to_pci_dev + pci_get_drvdata,
> use dev_get_drvdata to make code simpler.
>
> Signed-off-by: Chuhong Yuan <hslester96@xxxxxxxxx>
> ---
> drivers/misc/cardreader/alcor_pci.c | 6 ++----
> drivers/misc/habanalabs/habanalabs_drv.c | 6 ++----
> drivers/misc/mei/pci-me.c | 19 ++++++++-----------
> drivers/misc/mei/pci-txe.c | 19 ++++++++-----------
> 4 files changed, 20 insertions(+), 30 deletions(-)

Please break this up into one-patch-per driver so that they can go
through the various different maintainers of them.

thanks,

greg k-h