]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit74ee97cc05110a8421fe554506309fe071103654
tree58ce340a6324817a7bda1cedf731f877acaaf283
parente12a1a6e087b9803befc6e9ab47734716c3e20e2
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