staging: goldfish: document mutex usage
authorLoic Pefferkorn <loic@loicp.eu>
Wed, 3 Sep 2014 20:23:14 +0000 (22:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Sep 2014 04:54:57 +0000 (21:54 -0700)
Coding style: document mutex usage

Signed-off-by: Loic Pefferkorn <loic@loicp.eu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/goldfish/goldfish_nand.c

index 3f13ef042918af528667412bcf6e710eb84a82d5..c6c85d3a31e78111364f17bfe4e4661df6526c65 100644 (file)
@@ -31,6 +31,7 @@
 #include "goldfish_nand_reg.h"
 
 struct goldfish_nand {
+       /* lock protects access to the device registers */
        struct mutex            lock;
        unsigned char __iomem  *base;
        struct cmd_params       *cmd_params;