leds: trigger: gpio: Refresh LED state after GPIO change
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 26 May 2017 13:17:46 +0000 (15:17 +0200)
committerJacek Anaszewski <jacek.anaszewski@gmail.com>
Mon, 29 May 2017 19:55:04 +0000 (21:55 +0200)
commit71afe3cb1e8fdf89556047e03bcbcd731f1ab108
tree3f977279e5487e6a8d3cb990dfe546910d0ddbec
parent7678da8ee6dec14eda83672b319b2f7b3b2cd22e
leds: trigger: gpio: Refresh LED state after GPIO change

The new GPIO may have a different state than the old one.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
drivers/leds/trigger/ledtrig-gpio.c