Revert "leds: use led_set_brightness in led_trigger_event"
authorFabio Baltieri <fabio.baltieri@gmail.com>
Mon, 13 Aug 2012 06:27:24 +0000 (14:27 +0800)
committerBryan Wu <bryan.wu@canonical.com>
Mon, 13 Aug 2012 06:33:02 +0000 (14:33 +0800)
commit86e99d23d0210e8d43a0bb576582a455d907578e
tree0cba35fee43986f2eb0a8e046c46388d571dc08b
parent4df7309af6f7988da15fc9a0175fc60b997cc0d7
Revert "leds: use led_set_brightness in led_trigger_event"

This reverts commit a0193cbee0809d65362a0767b2d50306b145b2f5.

The problem with the original commit was that it caused a warning with
the MMC trigger calling del_timer_sync from hard-irq context.

Signed-off-by: Fabio Baltieri <fabio.baltieri@gmail.com>
Reported-by: Pawel Moll <pawel.moll@arm.com>
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
drivers/leds/led-triggers.c