Staging: bcm: Fix all white space issues in led_control.h

This patch fixes all white space issues in
led_control.h as reported by checkpatch.pl.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Kevin McKinney 2012-12-14 19:26:44 -05:00 committed by Greg Kroah-Hartman
parent 9d4cf71fbd
commit 67c6603827
1 changed files with 41 additions and 54 deletions

View File

@ -3,27 +3,19 @@
/*************************TYPE DEF**********************/ /*************************TYPE DEF**********************/
#define NUM_OF_LEDS 4 #define NUM_OF_LEDS 4
#define DSD_START_OFFSET 0x0200 #define DSD_START_OFFSET 0x0200
#define EEPROM_VERSION_OFFSET 0x020E #define EEPROM_VERSION_OFFSET 0x020E
#define EEPROM_HW_PARAM_POINTER_ADDRESS 0x0218 #define EEPROM_HW_PARAM_POINTER_ADDRESS 0x0218
#define EEPROM_HW_PARAM_POINTER_ADDRRES_MAP5 0x0220 #define EEPROM_HW_PARAM_POINTER_ADDRRES_MAP5 0x0220
#define GPIO_SECTION_START_OFFSET 0x03 #define GPIO_SECTION_START_OFFSET 0x03
#define COMPATIBILITY_SECTION_LENGTH 42 #define COMPATIBILITY_SECTION_LENGTH 42
#define COMPATIBILITY_SECTION_LENGTH_MAP5 84 #define COMPATIBILITY_SECTION_LENGTH_MAP5 84
#define EEPROM_MAP5_MAJORVERSION 5 #define EEPROM_MAP5_MAJORVERSION 5
#define EEPROM_MAP5_MINORVERSION 0 #define EEPROM_MAP5_MINORVERSION 0
#define MAX_NUM_OF_BLINKS 10 #define MAX_NUM_OF_BLINKS 10
#define NUM_OF_GPIO_PINS 16 #define NUM_OF_GPIO_PINS 16
#define DISABLE_GPIO_NUM 0xFF #define DISABLE_GPIO_NUM 0xFF
#define EVENT_SIGNALED 1 #define EVENT_SIGNALED 1
#define MAX_FILE_NAME_BUFFER_SIZE 100 #define MAX_FILE_NAME_BUFFER_SIZE 100
#define TURN_ON_LED(GPIO, index) do { \ #define TURN_ON_LED(GPIO, index) do { \
@ -43,8 +35,6 @@
#define B_ULONG32 unsigned long #define B_ULONG32 unsigned long
/*******************************************************/ /*******************************************************/
typedef enum _LEDColors { typedef enum _LEDColors {
RED_LED = 1, RED_LED = 1,
BLUE_LED = 2, BLUE_LED = 2,
@ -79,7 +69,6 @@ typedef struct LedStateInfo_t {
UCHAR BitPolarity; /* To represent whether H/W is normal polarity or reverse polarity */ UCHAR BitPolarity; /* To represent whether H/W is normal polarity or reverse polarity */
} LEDStateInfo, *pLEDStateInfo; } LEDStateInfo, *pLEDStateInfo;
typedef struct _LED_INFO_STRUCT { typedef struct _LED_INFO_STRUCT {
LEDStateInfo LEDState[NUM_OF_LEDS]; LEDStateInfo LEDState[NUM_OF_LEDS];
BOOLEAN bIdleMode_tx_from_host; /* Variable to notify whether driver came out from idlemode due to Host or target*/ BOOLEAN bIdleMode_tx_from_host; /* Variable to notify whether driver came out from idlemode due to Host or target*/
@ -91,12 +80,10 @@ typedef struct _LED_INFO_STRUCT {
BOOLEAN bLedInitDone; BOOLEAN bLedInitDone;
} LED_INFO_STRUCT, *PLED_INFO_STRUCT; } LED_INFO_STRUCT, *PLED_INFO_STRUCT;
/* LED Thread state. */ /* LED Thread state. */
#define BCM_LED_THREAD_DISABLED 0 /* LED Thread is not running. */ #define BCM_LED_THREAD_DISABLED 0 /* LED Thread is not running. */
#define BCM_LED_THREAD_RUNNING_ACTIVELY 1 /* LED thread is running. */ #define BCM_LED_THREAD_RUNNING_ACTIVELY 1 /* LED thread is running. */
#define BCM_LED_THREAD_RUNNING_INACTIVELY 2 /*LED thread has been put on hold*/ #define BCM_LED_THREAD_RUNNING_INACTIVELY 2 /*LED thread has been put on hold*/
#endif #endif