Re: [PATCH] nvme-pci: Use dev_get_drvdata where possible

2019-07-25 Thread Minwoo Im
On 19-07-24 20:22:35, 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 This looks good to me. Reviewed-by: Minwoo Im

Re: [PATCH] nvme-pci: Use dev_get_drvdata where possible

2019-07-24 Thread Sagi Grimberg
Reviewed-by: Sagi Grimberg

[PATCH] nvme-pci: Use dev_get_drvdata where possible

2019-07-24 Thread Chuhong Yuan
Instead of using to_pci_dev + pci_get_drvdata, use dev_get_drvdata to make code simpler. Signed-off-by: Chuhong Yuan --- drivers/nvme/host/pci.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c index bb970ca82517..3c6411