From 61e50e9037751d196a4552a1a654fa8fe76b751a Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Sat, 31 Jul 2010 23:32:52 +0300 Subject: Simple fixes for checkpatch.pl comments --- drivers/dahdi/zaphfc/base.c | 6 +++--- drivers/dahdi/zaphfc/zaphfc.h | 24 ++++++++++++------------ 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/drivers/dahdi/zaphfc/base.c b/drivers/dahdi/zaphfc/base.c index 60a5688..2efe930 100644 --- a/drivers/dahdi/zaphfc/base.c +++ b/drivers/dahdi/zaphfc/base.c @@ -71,10 +71,10 @@ int debug_level; #define TRUE (!FALSE) #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30) -#define SET_PROC_DIRENTRY_OWNER(p) do { (p)->owner = THIS_MODULE; } while(0); +#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 30) +#define SET_PROC_DIRENTRY_OWNER(p) do { (p)->owner = THIS_MODULE; } while (0); #else -#define SET_PROC_DIRENTRY_OWNER(p) do { } while(0); +#define SET_PROC_DIRENTRY_OWNER(p) do { } while (0); #endif static struct pci_device_id hfc_pci_ids[] = { diff --git a/drivers/dahdi/zaphfc/zaphfc.h b/drivers/dahdi/zaphfc/zaphfc.h index c9353cc..dbb8ab7 100644 --- a/drivers/dahdi/zaphfc/zaphfc.h +++ b/drivers/dahdi/zaphfc/zaphfc.h @@ -86,7 +86,7 @@ #define hfc_MST_EMOD 0xB4 #define hfc_MST_MODE 0xB8 -#define hfc_CONNECT 0xBC +#define hfc_CONNECT 0xBC /* Interrupt and status registers */ @@ -95,22 +95,22 @@ #define hfc_TRM 0x48 #define hfc_B_MODE 0x4C #define hfc_CHIP_ID 0x58 -#define hfc_CIRM 0x60 +#define hfc_CIRM 0x60 #define hfc_CTMT 0x64 -#define hfc_INT_M1 0x68 -#define hfc_INT_M2 0x6C -#define hfc_INT_S1 0x78 -#define hfc_INT_S2 0x7C -#define hfc_STATUS 0x70 +#define hfc_INT_M1 0x68 +#define hfc_INT_M2 0x6C +#define hfc_INT_S1 0x78 +#define hfc_INT_S2 0x7C +#define hfc_STATUS 0x70 /* S/T section registers */ -#define hfc_STATES 0xC0 -#define hfc_SCTRL 0xC4 +#define hfc_STATES 0xC0 +#define hfc_SCTRL 0xC4 #define hfc_SCTRL_E 0xC8 #define hfc_SCTRL_R 0xCC -#define hfc_SQ 0xD0 -#define hfc_CLKDEL 0xDC +#define hfc_SQ 0xD0 +#define hfc_CLKDEL 0xDC #define hfc_B1_REC 0xF0 #define hfc_B1_SEND 0xF0 #define hfc_B2_REC 0xF4 @@ -145,7 +145,7 @@ /* bits in CIRM (Write) */ #define hfc_CIRM_AUX_MSK 0x07 -#define hfc_CIRM_RESET 0x08 +#define hfc_CIRM_RESET 0x08 #define hfc_CIRM_B1_REV 0x40 #define hfc_CIRM_B2_REV 0x80 -- cgit v1.2.3