]> 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)
commit43471f22e3a72d4896e6aa87f1cc5a369ab0a9d2
tree58ce340a6324817a7bda1cedf731f877acaaf283
parent4f3662296975647728254562a2387979284b7ce9
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