]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: sh-pfc: r8a7795: Simplify get bias logic
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Sat, 12 Nov 2016 16:04:26 +0000 (17:04 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 16 Nov 2016 09:28:58 +0000 (10:28 +0100)
commit143e145cc1b9fec268d656f06632fbfeba03f928
tree80437d1d5de8b70cfd71510334dc824703401c1e
parentfb787f87807a1f8d352bf7820b8c726f7cd9f8f4
pinctrl: sh-pfc: r8a7795: Simplify get bias logic

The last else statement is missing braces, and the indentation level can
be reduced.

Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/pinctrl/sh-pfc/pfc-r8a7795.c