Realtek cr: clean up unnecessary whitespaces.

Signed-off-by: edwin_rong <edwin_rong@realsil.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
edwin_rong 2011-06-17 19:35:09 +08:00 committed by Greg Kroah-Hartman
parent 5b8261385c
commit 151d9fad6e
1 changed files with 56 additions and 54 deletions

View File

@ -145,6 +145,7 @@ static const struct usb_device_id realtek_cr_ids[] = {
# include "unusual_realtek.h" # include "unusual_realtek.h"
{} /* Terminating entry */ {} /* Terminating entry */
}; };
MODULE_DEVICE_TABLE(usb, realtek_cr_ids); MODULE_DEVICE_TABLE(usb, realtek_cr_ids);
#undef UNUSUAL_DEV #undef UNUSUAL_DEV
@ -220,8 +221,7 @@ static int rts51x_bulk_transport(struct us_data *us, u8 lun,
/* check bulk status */ /* check bulk status */
if (bcs->Signature != cpu_to_le32(US_BULK_CS_SIGN)) { if (bcs->Signature != cpu_to_le32(US_BULK_CS_SIGN)) {
US_DEBUGP("Signature mismatch: got %08X, expecting %08X\n", US_DEBUGP("Signature mismatch: got %08X, expecting %08X\n",
le32_to_cpu(bcs->Signature), le32_to_cpu(bcs->Signature), US_BULK_CS_SIGN);
US_BULK_CS_SIGN);
return USB_STOR_TRANSPORT_ERROR; return USB_STOR_TRANSPORT_ERROR;
} }
@ -640,11 +640,13 @@ static int realtek_cr_probe(struct usb_interface *intf,
US_DEBUGP("Probe Realtek Card Reader!\n"); US_DEBUGP("Probe Realtek Card Reader!\n");
result = usb_stor_probe1(&us, intf, id, result = usb_stor_probe1(&us, intf, id,
(id - realtek_cr_ids) + realtek_cr_unusual_dev_list); (id - realtek_cr_ids) +
realtek_cr_unusual_dev_list);
if (result) if (result)
return result; return result;
result = usb_stor_probe2(us); result = usb_stor_probe2(us);
return result; return result;
} }