]> git.baikalelectronics.ru Git - kernel.git/commit
staging: mt7621-pinctrl: use ternary operator return in rt2880_get_group_name
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Thu, 28 Jun 2018 19:03:07 +0000 (21:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jul 2018 15:33:43 +0000 (17:33 +0200)
commit5cc8093c10ee6c55a0971b40f1e120943d08b0b3
tree58ce340a6324817a7bda1cedf731f877acaaf283
parentd6f8ba5a3b73b7fc91cc0c59db8bee48e1f153c1
staging: mt7621-pinctrl: use ternary operator return in rt2880_get_group_name

Trivial change to have only one return in 'rt2880_get_group_name'
function using a ternary operator instead of an if statement and
two returns.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-pinctrl/pinctrl-rt2880.c