staging: ft1000: style issues fixed in write_blk
authorKelley Nielsen <kelleynnn@gmail.com>
Tue, 29 Oct 2013 15:07:40 +0000 (08:07 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Oct 2013 15:36:17 +0000 (08:36 -0700)
commit74827f8dfa52103db66c32958f2844abbcec92c5
treeb5768fa324ca9f8d87c6d762158c68181f74c95a
parenteb2ec63979702f04d45f608f635b0533defefa16
staging: ft1000: style issues fixed in write_blk

function write_blk, in ft1000_download.c, contains many coding style
issues. It has indentations of 3 spaces, long lines, C99 comments, and
extra whitespace. It also has a return type of u32, and changing the
returned variable in the function triggers a checkpatch leading spaces
warning. Indentation should be fixed throughout the file for
consistency.

This patch fixes those issues, in preparation for correcting the status
return type throughout the file. The variable Status has been changed
from u32 to int and renamed status.

Signed-off-by: Kelley Nielsen <kelleynnn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ft1000/ft1000-usb/ft1000_download.c