]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] ati_remote: Use non-alomic __set_bit
authorGeorge Spelvin <linux@horizon.com>
Sun, 11 May 2014 11:16:15 +0000 (08:16 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sat, 26 Jul 2014 02:52:15 +0000 (23:52 -0300)
There's no reason to use a LOCK prefix here.

Signed-off-by: George Spelvin <linux@horizon.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/rc/ati_remote.c

index 8a15ee5e728b2ab41f00c348cb6ff80544bf4542..a35631891cc00589cbaa1ef8d6ef90026cbe19d3 100644 (file)
@@ -739,7 +739,7 @@ static void ati_remote_input_init(struct ati_remote *ati_remote)
        for (i = 0; ati_remote_tbl[i].kind != KIND_END; i++)
                if (ati_remote_tbl[i].kind == KIND_LITERAL ||
                    ati_remote_tbl[i].kind == KIND_FILTERED)
-                       set_bit(ati_remote_tbl[i].code, idev->keybit);
+                       __set_bit(ati_remote_tbl[i].code, idev->keybit);
 
        input_set_drvdata(idev, ati_remote);