[POWERPC] Xilinx: hwicap cleanup
authorStephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Sun, 24 Feb 2008 23:34:47 +0000 (10:34 +1100)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Thu, 28 Feb 2008 16:38:33 +0000 (10:38 -0600)
commitf62f2fdd9c33160584b800da8c4a25ff1679225a
treeb88fd40d3fdd5d5f310ec541757745c9d7ee149c
parentfe57e8be9e858b6d7af4e088cbbe718f51241eee
[POWERPC] Xilinx: hwicap cleanup

This fixes various items pointed out during a review of the hwicap driver.
Primarily, reversed memcpy calls, re-entrancy issues, and mutex conversion
have been addressed.  There are also fixes to comments to use the kerneldoc
format, as well as some sparse annotations.

Signed-off-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
drivers/char/xilinx_hwicap/buffer_icap.c
drivers/char/xilinx_hwicap/fifo_icap.c
drivers/char/xilinx_hwicap/xilinx_hwicap.c
drivers/char/xilinx_hwicap/xilinx_hwicap.h