diff options
author | Katrina Prosise <katrina.prosise@gmail.com> | 2013-05-12 17:17:41 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-13 07:20:57 -0700 |
commit | 9799d126450d0418b5b3567499eaef531fbd0dce (patch) | |
tree | 471751ae24a86136faac720efc3d9452ceefb997 /drivers/staging/keucr | |
parent | ad6384591f449026d93b136a6b5cb8b8bce6c743 (diff) | |
download | linux-9799d126450d0418b5b3567499eaef531fbd0dce.tar.gz linux-9799d126450d0418b5b3567499eaef531fbd0dce.tar.bz2 linux-9799d126450d0418b5b3567499eaef531fbd0dce.zip |
Staging: keucr: fixed CamelCase warning
This patch fixes the checkpatch warning of CamelCase ENE_Read_BYTE
Signed-off-by: Katrina Prosise <katrina.prosise@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/keucr')
-rw-r--r-- | drivers/staging/keucr/init.c | 6 | ||||
-rw-r--r-- | drivers/staging/keucr/transport.h | 2 | ||||
-rw-r--r-- | drivers/staging/keucr/usb.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/keucr/init.c b/drivers/staging/keucr/init.c index 231611dc0f74..cb50eb25d52c 100644 --- a/drivers/staging/keucr/init.c +++ b/drivers/staging/keucr/init.c @@ -20,7 +20,7 @@ int ENE_InitMedia(struct us_data *us) BYTE MiscReg03 = 0; 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) { printk(KERN_ERR "Read register fail !!\n"); return USB_STOR_TRANSPORT_ERROR; @@ -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; int result; diff --git a/drivers/staging/keucr/transport.h b/drivers/staging/keucr/transport.h index 2a11a98375d7..7015b213eb2e 100644 --- a/drivers/staging/keucr/transport.h +++ b/drivers/staging/keucr/transport.h @@ -61,7 +61,7 @@ extern int ENE_InitMedia(struct us_data *); extern int ENE_SMInit(struct us_data *); extern int ENE_SendScsiCmd(struct us_data*, BYTE, void*, int); 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_Write_Data(struct us_data*, void *buf, unsigned int length); extern void BuildSenseBuffer(struct scsi_cmnd *, int); diff --git a/drivers/staging/keucr/usb.c b/drivers/staging/keucr/usb.c index f656f8aeeda3..79edd0e98b3b 100644 --- a/drivers/staging/keucr/usb.c +++ b/drivers/staging/keucr/usb.c @@ -585,7 +585,7 @@ static int eucr_probe(struct usb_interface *intf, const struct usb_device_id *id wake_up_process(th); /* 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) { result = USB_STOR_TRANSPORT_ERROR; quiesce_and_remove_host(us); |