Input: joystick - use sizeof(VARIABLE) in documentation
authorAntonio Ospite <ospite@studenti.unina.it>
Mon, 16 Dec 2013 09:52:17 +0000 (01:52 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 16 Dec 2013 10:13:35 +0000 (02:13 -0800)
commitc2729850985934a3124319f8ff1d46d8c72bb012
tree74238d313e0479e72341accd1176270f69ea6b0b
parent7d0e6192c2f36139e4aa5e4107f4d7fb56d9f290
Input: joystick - use sizeof(VARIABLE) in documentation

Use the preferred style sizeof(VARIABLE) instead of sizeof(TYPE) in the
joystick API documentation, Documentation/CodingStyle states that this
is the preferred style for allocations but using it elsewhere is good
too.

Also fix some errors like "sizeof(struct mybuffer)" which didn't mean
anything.

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/input/joystick-api.txt