lkml.org 
[lkml]   [2019]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@gmail.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

\
 
 \ /
  Last update: 2019-07-23 14:27    [W:0.034 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site