PCI: rcar: Remove redundant config accessor register number checks
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Fri, 27 Jun 2014 14:59:13 +0000 (18:59 +0400)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:15:25 +0000 (11:15 +0100)
commit29501b599b1dde90b8e895d2a8177e61504c7bf7
tree50e6221439c31e2dd9e677f0a3408e52f25fc460
parentca3f7224a718fc2ff54958e769270d947c255b13
PCI: rcar: Remove redundant config accessor register number checks

The PCI core will have already checked the configuration register address
before calling the {read|write}() methods; so don't check it again in these
methods.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Phil Edworthy <phil.edworthy@renesas.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit 8eb12c3b420fb5243ce9b4a8878f3b88a3c91e33)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pci/host/pcie-rcar.c