pinctrl: tegra-xusb: testing wrong variable in probe()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 31 Jul 2014 15:23:08 +0000 (18:23 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 17 Aug 2014 14:15:44 +0000 (09:15 -0500)
commit8a3cfb7c1700732df9fc13439b313bf8db39fefd
tree694477f32fe7da09c1470d7521bd1408cdb29995
parent8e1594db7e43eaf4ea88b870e97fa3ab9f8f98e0
pinctrl: tegra-xusb: testing wrong variable in probe()

There is a cut and paste bug so we test the wrong variable.  "err" is
never less than zero at this point.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-tegra-xusb.c