[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190723122654.GA11835@kroah.com>
Date: Tue, 23 Jul 2019 14:26:54 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Chuhong Yuan <hslester96@...il.com>
Cc: Arnd Bergmann <arnd@...db.de>, Oded Gabbay <oded.gabbay@...il.com>,
Tomas Winkler <tomas.winkler@...el.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] misc: Use dev_get_drvdata where possible
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@...il.com>
> ---
> 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
Powered by blists - more mailing lists