Staging: crystalhd: Misc improvements for crystalhd_lnx.c
authorAmeya Palande <2ameya@gmail.com>
Wed, 24 Feb 2010 18:18:28 +0000 (20:18 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 00:43:04 +0000 (16:43 -0800)
commit21b0838c1a03686277e0cfeda42015e4538b9ea3
tree7bf4aa8b54e5105298979d27d780f9294a90fe99
parent092579690107ffdf9b146de7e67379d8434e9bb0
Staging: crystalhd: Misc improvements for crystalhd_lnx.c

This patch does following improvements:

1. Follow kernel style for comments
2. Reorganize code for readability improvement
3. Use PCI helper macros
4. Use __devinit, __devexit, __devexit_p at necessary places
5. Mark functions and data as static when it is not exported

Signed-off-by: Ameya Palande <2ameya@gmail.com>
Cc: Naren Sankar <nsankar@broadcom.com>
Cc: Jarod Wilson <jarod@wilsonet.com>
Cc: Scott Davilla <davilla@4pi.com>
Cc: Manu Abraham <abraham.manu@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/crystalhd/crystalhd_cmds.c
drivers/staging/crystalhd/crystalhd_lnx.c
drivers/staging/crystalhd/crystalhd_misc.c