mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
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>
This commit is contained in:
parent
ad6384591f
commit
9799d12645
@ -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;
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user