Staging: sm750fb: Fix checkpatch.pl warnings
PATCH 1/1 Staging: sm750fb: Fix checkpatch.pl warnings
From: Niranjan Dighe <[email protected]>
This patch removes spaces at the start of the line and replaces it by tabs
Signed-off-by Niranjan Dighe <[email protected]>
drivers/staging/sm750fb/ddk750_dvi.h +33 -36
@@ -4,16 +4,18 @@/* dvi chip stuffs structros */ typedef long (*PFN_DVICTRL_INIT )( -unsigned char edgeSelect, -unsigned char busSelect, -unsigned char dualEdgeClkSelect, -unsigned char hsyncEnable, -unsigned char vsyncEnable, -unsigned char deskewEnable, -unsigned char deskewSetting, -unsigned char continuousSyncEnable, -unsigned char pllFilterEnable, -unsigned char pllFilterValue); +unsigned char edgeSelect, +unsigned char busSelect, +unsigned char dualEdgeClkSelect, +unsigned char hsyncEnable, +unsigned char vsyncEnable, +unsigned char deskewEnable, +unsigned char deskewSetting, +unsigned char continuousSyncEnable, +unsigned char pllFilterEnable, +unsigned char pllFilterValue +); +typedef void (*PFN_DVICTRL_RESETCHIP )(void );typedef char * (*PFN_DVICTRL_GETCHIPSTRING )(void );typedef unsigned short (*PFN_DVICTRL_GETVENDORID )(void );
@@ -24,44 +26,39 @@ typedef unsigned char (*PFN_DVICTRL_ISCONNECTED)(void);typedef unsigned char (*PFN_DVICTRL_CHECKINTERRUPT )(void );typedef void (*PFN_DVICTRL_CLEARINTERRUPT )(void ); - -/* Structure to hold all the function pointer to the DVI Controller. */ typedef struct _dvi_ctrl_device_t { -PFN_DVICTRL_INIT pfnInit; -PFN_DVICTRL_RESETCHIP pfnResetChip; -PFN_DVICTRL_GETCHIPSTRING pfnGetChipString; -PFN_DVICTRL_GETVENDORID pfnGetVendorId; -PFN_DVICTRL_GETDEVICEID pfnGetDeviceId; -PFN_DVICTRL_SETPOWER pfnSetPower; -PFN_DVICTRL_HOTPLUGDETECTION pfnEnableHotPlugDetection; -PFN_DVICTRL_ISCONNECTED pfnIsConnected; -PFN_DVICTRL_CHECKINTERRUPT pfnCheckInterrupt; -PFN_DVICTRL_CLEARINTERRUPT pfnClearInterrupt; +PFN_DVICTRL_INIT pfnInit; +PFN_DVICTRL_RESETCHIP pfnResetChip; +PFN_DVICTRL_GETCHIPSTRING pfnGetChipString; +PFN_DVICTRL_GETVENDORID pfnGetVendorId; +PFN_DVICTRL_GETDEVICEID pfnGetDeviceId; +PFN_DVICTRL_SETPOWER pfnSetPower; +PFN_DVICTRL_HOTPLUGDETECTION pfnEnableHotPlugDetection; +PFN_DVICTRL_ISCONNECTED pfnIsConnected; +PFN_DVICTRL_CHECKINTERRUPT pfnCheckInterrupt; +PFN_DVICTRL_CLEARINTERRUPT pfnClearInterrupt; }dvi_ctrl_device_t ; -#define DVI_CTRL_SII164 - +#define DVI_CTRL_SII164 /* dvi functions prototype */ int dviInit ( -unsigned char edgeSelect, -unsigned char busSelect, -unsigned char dualEdgeClkSelect, -unsigned char hsyncEnable, -unsigned char vsyncEnable, -unsigned char deskewEnable, -unsigned char deskewSetting, -unsigned char continuousSyncEnable, -unsigned char pllFilterEnable, -unsigned char pllFilterValue +unsigned char edgeSelect, +unsigned char busSelect, +unsigned char dualEdgeClkSelect, +unsigned char hsyncEnable, +unsigned char vsyncEnable, +unsigned char deskewEnable, +unsigned char deskewSetting, +unsigned char continuousSyncEnable, +unsigned char pllFilterEnable, +unsigned char pllFilterValue );unsigned short dviGetVendorID (void );unsigned short dviGetDeviceID (void ); - -#endif
Signature · 1 line
1.9.1
Sudip Mukherjee
maintainerQuoted 4 lines · Niranjan (N.)
From: Niranjan Dighe <[email protected]>
This patch removes spaces at the start of the line and replaces it by tabs
You are also removing blank lines, adding blank lines, moving a ')' to next line.
regards
sudip
Quoted 10 lines · Sudip Mukherjee
Quoted 4 lines · Niranjan (N.)
From: Niranjan Dighe <[email protected]>
This patch removes spaces at the start of the line and replaces it by tabs
You are also removing blank lines, adding blank lines, moving a ')' to next line.
regards
sudip
Alright. I will modify the patch and resend.
Thanks,
Niranjan