From: Simon Guinot Date: Sun, 19 Sep 2010 13:30:59 +0000 (+0200) Subject: leds: leds-ns2: fix locking X-Git-Tag: v2.6.36-rc6~11^2~7^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f539dfedbd169e5ed47912bb517c75976ab556f3;p=pandora-kernel.git leds: leds-ns2: fix locking This patch replace all the lock functions with the irq safe variant. The ns2_led_{set,get}_mode() functions must be safe in all context. For example, the trigger timer call led_set_brightness() in a softirq context. Signed-off-by: Simon Guinot Signed-off-by: Nicolas Pitre --- Reading git-diff-tree failed