pinctrl: simplify check for pin request conflicts
authorVladimir Zapolskiy <vz@mleia.com>
Sun, 25 Dec 2016 00:59:28 +0000 (02:59 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 30 Dec 2016 09:11:05 +0000 (10:11 +0100)
commitb1eb8fabc83becdcc3b813f1fe6194f610fe7e9b
treef02b512821e5df12c0a31891daa1469062359d69
parent55e409502e02aeca224efa4cae69d2480879744b
pinctrl: simplify check for pin request conflicts

This is a non-functional change, which deletes code duplication in two
of four if-if branches by reordering the checks. Functional identity
of the code change can be shown by running through the whole truth table
of boolean arguments.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinmux.c