[SCSI] BusLogic: Fix style issues

Fix CamelCase and extra long lines in the buslogic driver.

Signed-off-by: Khalid Aziz <khalid.aziz@oracle.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:
Khalid Aziz 2013-05-16 19:44:13 -06:00 коммит произвёл James Bottomley
Родитель 3b9373e95a
Коммит 839cb99e8f
3 изменённых файлов: 3068 добавлений и 2828 удалений

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -7573,47 +7573,47 @@ static unsigned char FPT_CalcLrc(unsigned char buffer[])
*/ */
static inline unsigned char static inline unsigned char
FlashPoint__ProbeHostAdapter(struct FlashPoint_Info *FlashPointInfo) FlashPoint__ProbeHostAdapter(struct fpoint_info *FlashPointInfo)
{ {
return FlashPoint_ProbeHostAdapter((struct sccb_mgr_info *) return FlashPoint_ProbeHostAdapter((struct sccb_mgr_info *)
FlashPointInfo); FlashPointInfo);
} }
static inline FlashPoint_CardHandle_T static inline unsigned int
FlashPoint__HardwareResetHostAdapter(struct FlashPoint_Info *FlashPointInfo) FlashPoint__HardwareResetHostAdapter(struct fpoint_info *FlashPointInfo)
{ {
return FlashPoint_HardwareResetHostAdapter((struct sccb_mgr_info *) return FlashPoint_HardwareResetHostAdapter((struct sccb_mgr_info *)
FlashPointInfo); FlashPointInfo);
} }
static inline void static inline void
FlashPoint__ReleaseHostAdapter(FlashPoint_CardHandle_T CardHandle) FlashPoint__ReleaseHostAdapter(unsigned int CardHandle)
{ {
FlashPoint_ReleaseHostAdapter(CardHandle); FlashPoint_ReleaseHostAdapter(CardHandle);
} }
static inline void static inline void
FlashPoint__StartCCB(FlashPoint_CardHandle_T CardHandle, FlashPoint__StartCCB(unsigned int CardHandle,
struct BusLogic_CCB *CCB) struct blogic_ccb *CCB)
{ {
FlashPoint_StartCCB(CardHandle, (struct sccb *)CCB); FlashPoint_StartCCB(CardHandle, (struct sccb *)CCB);
} }
static inline void static inline void
FlashPoint__AbortCCB(FlashPoint_CardHandle_T CardHandle, FlashPoint__AbortCCB(unsigned int CardHandle,
struct BusLogic_CCB *CCB) struct blogic_ccb *CCB)
{ {
FlashPoint_AbortCCB(CardHandle, (struct sccb *)CCB); FlashPoint_AbortCCB(CardHandle, (struct sccb *)CCB);
} }
static inline bool static inline bool
FlashPoint__InterruptPending(FlashPoint_CardHandle_T CardHandle) FlashPoint__InterruptPending(unsigned int CardHandle)
{ {
return FlashPoint_InterruptPending(CardHandle); return FlashPoint_InterruptPending(CardHandle);
} }
static inline int static inline int
FlashPoint__HandleInterrupt(FlashPoint_CardHandle_T CardHandle) FlashPoint__HandleInterrupt(unsigned int CardHandle)
{ {
return FlashPoint_HandleInterrupt(CardHandle); return FlashPoint_HandleInterrupt(CardHandle);
} }
@ -7632,13 +7632,12 @@ FlashPoint__HandleInterrupt(FlashPoint_CardHandle_T CardHandle)
Define prototypes for the FlashPoint SCCB Manager Functions. Define prototypes for the FlashPoint SCCB Manager Functions.
*/ */
extern unsigned char FlashPoint_ProbeHostAdapter(struct FlashPoint_Info *); extern unsigned char FlashPoint_ProbeHostAdapter(struct fpoint_info *);
extern FlashPoint_CardHandle_T extern unsigned int FlashPoint_HardwareResetHostAdapter(struct fpoint_info *);
FlashPoint_HardwareResetHostAdapter(struct FlashPoint_Info *); extern void FlashPoint_StartCCB(unsigned int, struct blogic_ccb *);
extern void FlashPoint_StartCCB(FlashPoint_CardHandle_T, struct BusLogic_CCB *); extern int FlashPoint_AbortCCB(unsigned int, struct blogic_ccb *);
extern int FlashPoint_AbortCCB(FlashPoint_CardHandle_T, struct BusLogic_CCB *); extern bool FlashPoint_InterruptPending(unsigned int);
extern bool FlashPoint_InterruptPending(FlashPoint_CardHandle_T); extern int FlashPoint_HandleInterrupt(unsigned int);
extern int FlashPoint_HandleInterrupt(FlashPoint_CardHandle_T); extern void FlashPoint_ReleaseHostAdapter(unsigned int);
extern void FlashPoint_ReleaseHostAdapter(FlashPoint_CardHandle_T);
#endif /* CONFIG_SCSI_FLASHPOINT */ #endif /* CONFIG_SCSI_FLASHPOINT */