Commit 9799d126 authored by Katrina Prosise's avatar Katrina Prosise Committed by Greg Kroah-Hartman

Staging: keucr: fixed CamelCase warning

This patch fixes the checkpatch warning of CamelCase ENE_Read_BYTE
Signed-off-by: default avatarKatrina Prosise <katrina.prosise@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ad638459
...@@ -20,7 +20,7 @@ int ENE_InitMedia(struct us_data *us) ...@@ -20,7 +20,7 @@ int ENE_InitMedia(struct us_data *us)
BYTE MiscReg03 = 0; BYTE MiscReg03 = 0;
printk(KERN_INFO "--- Init Media ---\n"); printk(KERN_INFO "--- Init Media ---\n");
result = ENE_Read_BYTE(us, REG_CARD_STATUS, &MiscReg03); result = ene_read_byte(us, REG_CARD_STATUS, &MiscReg03);
if (result != USB_STOR_XFER_GOOD) { if (result != USB_STOR_XFER_GOOD) {
printk(KERN_ERR "Read register fail !!\n"); printk(KERN_ERR "Read register fail !!\n");
return USB_STOR_TRANSPORT_ERROR; return USB_STOR_TRANSPORT_ERROR;
...@@ -39,9 +39,9 @@ int ENE_InitMedia(struct us_data *us) ...@@ -39,9 +39,9 @@ int ENE_InitMedia(struct us_data *us)
} }
/* /*
* ENE_Read_BYTE() : * ene_read_byte() :
*/ */
int ENE_Read_BYTE(struct us_data *us, WORD index, void *buf) int ene_read_byte(struct us_data *us, WORD index, void *buf)
{ {
struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf;
int result; int result;
......
...@@ -61,7 +61,7 @@ extern int ENE_InitMedia(struct us_data *); ...@@ -61,7 +61,7 @@ extern int ENE_InitMedia(struct us_data *);
extern int ENE_SMInit(struct us_data *); extern int ENE_SMInit(struct us_data *);
extern int ENE_SendScsiCmd(struct us_data*, BYTE, void*, int); extern int ENE_SendScsiCmd(struct us_data*, BYTE, void*, int);
extern int ENE_LoadBinCode(struct us_data*, BYTE); extern int ENE_LoadBinCode(struct us_data*, BYTE);
extern int ENE_Read_BYTE(struct us_data*, WORD index, void *buf); extern int ene_read_byte(struct us_data*, WORD index, void *buf);
extern int ENE_Read_Data(struct us_data*, void *buf, unsigned int length); extern int ENE_Read_Data(struct us_data*, void *buf, unsigned int length);
extern int ENE_Write_Data(struct us_data*, void *buf, unsigned int length); extern int ENE_Write_Data(struct us_data*, void *buf, unsigned int length);
extern void BuildSenseBuffer(struct scsi_cmnd *, int); extern void BuildSenseBuffer(struct scsi_cmnd *, int);
......
...@@ -585,7 +585,7 @@ static int eucr_probe(struct usb_interface *intf, const struct usb_device_id *id ...@@ -585,7 +585,7 @@ static int eucr_probe(struct usb_interface *intf, const struct usb_device_id *id
wake_up_process(th); wake_up_process(th);
/* probe card type */ /* probe card type */
result = ENE_Read_BYTE(us, REG_CARD_STATUS, &MiscReg03); result = ene_read_byte(us, REG_CARD_STATUS, &MiscReg03);
if (result != USB_STOR_XFER_GOOD) { if (result != USB_STOR_XFER_GOOD) {
result = USB_STOR_TRANSPORT_ERROR; result = USB_STOR_TRANSPORT_ERROR;
quiesce_and_remove_host(us); quiesce_and_remove_host(us);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment