V4L/DVB (11998): se401: Fix coding style

Having fixed the sprintfs I decided a quick clean wouldn't do any harm so
it was actually easy to read in future.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Alan Cox 2009-06-09 10:02:11 -03:00 committed by Mauro Carvalho Chehab
parent 226a040e6a
commit aae40fd219
2 changed files with 451 additions and 430 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@
#ifndef __LINUX_se401_H #ifndef __LINUX_se401_H
#define __LINUX_se401_H #define __LINUX_se401_H
#include <asm/uaccess.h> #include <linux/uaccess.h>
#include <linux/videodev.h> #include <linux/videodev.h>
#include <media/v4l2-common.h> #include <media/v4l2-common.h>
#include <media/v4l2-ioctl.h> #include <media/v4l2-ioctl.h>
@ -12,9 +12,10 @@
#ifdef se401_DEBUG #ifdef se401_DEBUG
# define PDEBUG(level, fmt, args...) \ # define PDEBUG(level, fmt, args...) \
if (debug >= level) info("[" __PRETTY_FUNCTION__ ":%d] " fmt, __LINE__ , ## args) if (debug >= level) \
info("[" __PRETTY_FUNCTION__ ":%d] " fmt, __LINE__ , ## args)
#else #else
# define PDEBUG(level, fmt, args...) do {} while(0) # define PDEBUG(level, fmt, args...) do {} while (0)
#endif #endif
/* An almost drop-in replacement for sleep_on_interruptible */ /* An almost drop-in replacement for sleep_on_interruptible */