gpio: sysfs: clean up edge_store
authorJohan Hovold <johan@kernel.org>
Mon, 4 May 2015 15:10:42 +0000 (17:10 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 12 May 2015 08:47:31 +0000 (10:47 +0200)
commite4339ce32372e2f8c98222c0923b79476c29a309
treef81edf1c95b6189fb0d11fc81d8991ad68047b52
parent2ec74a959354dde38155e62f0af3ee0b1a7283ac
gpio: sysfs: clean up edge_store

Remove goto from success path.

Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-sysfs.c