Skip to contentSkip to conversation

staging: comedi: s626: start cleaning up the driver

PATCH New H Hartley Sweeten 1 participant 1 message Jun 21, 2012

lore
Share & tools
lore
#0 lore raw

cover staging: comedi: s626: start cleaning up the driver

The s626 driver is a bit of a mess...

Start cleaning it up by getting rid of some sparse warnings, all the forward declarations, the DEBUG function tracing, an unused macro, and factoring out the PCI device matching code.

H Hartley Sweeten (12):
staging: comedi: s626: local functions should not be exposed globally
staging: comedi: s626: pointers should be cleared with NULL not 0
staging: comedi: s626: remove forward declarations 1
staging: comedi: s626: remove forward declarations 2
staging: comedi: s626: remove forward declarations 3
staging: comedi: s626: remove forward declarations 4
staging: comedi: s626: remove forward declarations 5
staging: comedi: s626: remove forward declarations 6
staging: comedi: s626: remove forward declarations 7
staging: comedi: s626: remove private DEBUG macro
staging: comedi: s626: remove private INLINE macro
staging: comedi: s626: factor out the find PCI device code

 drivers/staging/comedi/drivers/s626.c | 3075 +++++++++++++++------------------
 drivers/staging/comedi/drivers/s626.h |   10 -
 2 files changed, 1377 insertions(+), 1708 deletions(-)
Signature · 1 line
1.7.11