Re: [PATCH] PCI: versatile: don't check resource with devm_ioremap_resource

2015-04-09 Thread Bjorn Helgaas
On Fri, Apr 03, 2015 at 09:17:05PM +0800, Jisheng Zhang wrote: > devm_ioremap_resource does sanity checks on the given resource. No need > to duplicate this in the driver. And we should check whether > devm_ioremap_resource() succeeds or not. > > This patch fixes all of these two trival issues. >

[PATCH] PCI: versatile: don't check resource with devm_ioremap_resource

2015-04-03 Thread Jisheng Zhang
devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. And we should check whether devm_ioremap_resource() succeeds or not. This patch fixes all of these two trival issues. Signed-off-by: Jisheng Zhang --- drivers/pci/host/pci-versatile.c | 12 +