]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
PCI: rockchip: Make 'return 0' more obvious in probe()
authorBrian Norris <briannorris@chromium.org>
Fri, 10 Mar 2017 02:46:14 +0000 (18:46 -0800)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 23 Mar 2017 22:24:34 +0000 (17:24 -0500)
commitdeb518f6ae4d5da22fb1e8d6c6a690253ffa700d
treebcf352fd3a4cf186a45fb5c3f62dcb9af02f3332
parent73edd2b180a18024605c599074596a9e22d745d6
PCI: rockchip: Make 'return 0' more obvious in probe()

There's no way to get here with 'err != 0'.  Just return 0 to be more
obvious and prevent future changes from accidentally erroring out here
without going through the right error paths.

Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pcie-rockchip.c