Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

USB: drivers/usb/storage/dpcm.c whitespace cleanup

Following trivial patch converts smarttabs/whitespaces into real tabs.

Signed-off-by: S.Caglar Onur <caglar@pardus.org.tr>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

S.Caglar Onur and committed by
Greg Kroah-Hartman
d20da3c3 e294531d

+28 -28
+28 -28
drivers/usb/storage/dpcm.c
··· 46 46 */ 47 47 int dpcm_transport(struct scsi_cmnd *srb, struct us_data *us) 48 48 { 49 - int ret; 49 + int ret; 50 50 51 - if(srb == NULL) 52 - return USB_STOR_TRANSPORT_ERROR; 51 + if (srb == NULL) 52 + return USB_STOR_TRANSPORT_ERROR; 53 53 54 - US_DEBUGP("dpcm_transport: LUN=%d\n", srb->device->lun); 54 + US_DEBUGP("dpcm_transport: LUN=%d\n", srb->device->lun); 55 55 56 - switch(srb->device->lun) { 57 - case 0: 56 + switch (srb->device->lun) { 57 + case 0: 58 58 59 - /* 60 - * LUN 0 corresponds to the CompactFlash card reader. 61 - */ 62 - ret = usb_stor_CB_transport(srb, us); 63 - break; 59 + /* 60 + * LUN 0 corresponds to the CompactFlash card reader. 61 + */ 62 + ret = usb_stor_CB_transport(srb, us); 63 + break; 64 64 65 65 #ifdef CONFIG_USB_STORAGE_SDDR09 66 - case 1: 66 + case 1: 67 67 68 - /* 69 - * LUN 1 corresponds to the SmartMedia card reader. 70 - */ 68 + /* 69 + * LUN 1 corresponds to the SmartMedia card reader. 70 + */ 71 71 72 - /* 73 - * Set the LUN to 0 (just in case). 74 - */ 75 - srb->device->lun = 0; us->srb->device->lun = 0; 76 - ret = sddr09_transport(srb, us); 77 - srb->device->lun = 1; us->srb->device->lun = 1; 78 - break; 72 + /* 73 + * Set the LUN to 0 (just in case). 74 + */ 75 + srb->device->lun = 0; us->srb->device->lun = 0; 76 + ret = sddr09_transport(srb, us); 77 + srb->device->lun = 1; us->srb->device->lun = 1; 78 + break; 79 79 80 80 #endif 81 81 82 - default: 83 - US_DEBUGP("dpcm_transport: Invalid LUN %d\n", srb->device->lun); 84 - ret = USB_STOR_TRANSPORT_ERROR; 85 - break; 86 - } 87 - return ret; 82 + default: 83 + US_DEBUGP("dpcm_transport: Invalid LUN %d\n", srb->device->lun); 84 + ret = USB_STOR_TRANSPORT_ERROR; 85 + break; 86 + } 87 + return ret; 88 88 }