USB: SisUSB2VGA: Whitespace Cleanups
authorFelipe Balbi <felipe.lima@indt.org.br>
Fri, 10 Aug 2007 13:34:24 +0000 (09:34 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:55:10 +0000 (14:55 -0700)
This patches clean some trailing whitespaces in sisusb2vga
driver.

Signed-off-by: Felipe Balbi <felipe.lima@indt.org.br>
Cc: Thomas Winischhofer <thomas@winischhofer.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/sisusbvga/sisusb.c
drivers/usb/misc/sisusbvga/sisusb.h
drivers/usb/misc/sisusbvga/sisusb_init.c
drivers/usb/misc/sisusbvga/sisusb_init.h
drivers/usb/misc/sisusbvga/sisusb_struct.h

index b64ca91d9b02353cb43fe51655f2dc7d78f73a6c..376f86cab4b0c86fe0cb3ff2abeaff8756b3a97d 100644 (file)
@@ -32,7 +32,7 @@
  * * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  * * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
- * Author:     Thomas Winischhofer <thomas@winischhofer.net>
+ * Author:     Thomas Winischhofer <thomas@winischhofer.net>
  *
  */
 
@@ -962,12 +962,12 @@ static int sisusb_write_mem_bulk(struct sisusb_usb_data *sisusb, u32 addr,
                           packet.address = 0x00000194;
                           packet.data    = addr;
                           ret = sisusb_send_bridge_packet(sisusb, 10,
-                                                               &packet, 0);
+                                                               &packet, 0);
                           packet.header  = 0x001f;
                           packet.address = 0x00000190;
                           packet.data    = (length & ~3);
                           ret |= sisusb_send_bridge_packet(sisusb, 10,
-                                                               &packet, 0);
+                                                               &packet, 0);
                           if (sisusb->flagb0 != 0x16) {
                                packet.header  = 0x001f;
                                packet.address = 0x00000180;
@@ -1019,7 +1019,7 @@ static int sisusb_write_mem_bulk(struct sisusb_usb_data *sisusb, u32 addr,
            }
 
            if (ret)
-               break;
+               break;
 
        }
 
@@ -1305,7 +1305,7 @@ static int sisusb_read_mem_bulk(struct sisusb_usb_data *sisusb, u32 addr,
            }
 
            if (ret)
-               break;
+               break;
        }
 
        return ret;
@@ -1533,9 +1533,9 @@ sisusb_clear_vram(struct sisusb_usb_data *sisusb, u32 address, int length)
 #define SETIREGAND(r,i,a)      sisusb_setidxregand(sisusb, r, i, a)
 #define SETIREGANDOR(r,i,a,o)  sisusb_setidxregandor(sisusb, r, i, a, o)
 #define READL(a,d)     sisusb_read_memio_long(sisusb, SISUSB_TYPE_MEM, a, d)
-#define WRITEL(a,d)    sisusb_write_memio_long(sisusb, SISUSB_TYPE_MEM, a, d)
+#define WRITEL(a,d)    sisusb_write_memio_long(sisusb, SISUSB_TYPE_MEM, a, d)
 #define READB(a,d)     sisusb_read_memio_byte(sisusb, SISUSB_TYPE_MEM, a, d)
-#define WRITEB(a,d)    sisusb_write_memio_byte(sisusb, SISUSB_TYPE_MEM, a, d)
+#define WRITEB(a,d)    sisusb_write_memio_byte(sisusb, SISUSB_TYPE_MEM, a, d)
 
 static int
 sisusb_triggersr16(struct sisusb_usb_data *sisusb, u8 ramtype)
@@ -2008,7 +2008,7 @@ sisusb_set_default_mode(struct sisusb_usb_data *sisusb, int touchengines)
                SETIREG(SISSR, 0x26, 0x00);
        }
 
-       SETIREG(SISCR, 0x34, 0x44);     /* we just set std mode #44 */
+       SETIREG(SISCR, 0x34, 0x44);     /* we just set std mode #44 */
 
        return ret;
 }
@@ -2942,7 +2942,7 @@ static int
 sisusb_handle_command(struct sisusb_usb_data *sisusb, struct sisusb_command *y,
                                                        unsigned long arg)
 {
-       int     retval, port, length;
+       int     retval, port, length;
        u32     address;
 
        /* All our commands require the device
@@ -3065,12 +3065,12 @@ sisusb_handle_command(struct sisusb_usb_data *sisusb, struct sisusb_command *y,
 
 static int
 sisusb_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
-                                                       unsigned long arg)
+                                                       unsigned long arg)
 {
        struct sisusb_usb_data *sisusb;
        struct sisusb_info x;
        struct sisusb_command y;
-       int     retval = 0;
+       int     retval = 0;
        u32 __user *argp = (u32 __user *)arg;
 
        if (!(sisusb = (struct sisusb_usb_data *)file->private_data))
@@ -3095,7 +3095,7 @@ sisusb_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
 
                case SISUSB_GET_CONFIG:
 
-                       x.sisusb_id         = SISUSB_ID;
+                       x.sisusb_id         = SISUSB_ID;
                        x.sisusb_version    = SISUSB_VERSION;
                        x.sisusb_revision   = SISUSB_REVISION;
                        x.sisusb_patchlevel = SISUSB_PATCHLEVEL;
@@ -3164,7 +3164,7 @@ static const struct file_operations usb_sisusb_fops = {
        .release =      sisusb_release,
        .read =         sisusb_read,
        .write =        sisusb_write,
-       .llseek =       sisusb_lseek,
+       .llseek =       sisusb_lseek,
 #ifdef SISUSB_NEW_CONFIG_COMPAT
        .compat_ioctl = sisusb_compat_ioctl,
 #endif
index 8e1120a6480647b4d8d97803205d3ca2016a88a9..555fed0ba0ef253dee7c1560fd44a99031ce43be 100644 (file)
@@ -30,7 +30,7 @@
  * * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  * * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
- * Author:     Thomas Winischhofer <thomas@winischhofer.net>
+ * Author:     Thomas Winischhofer <thomas@winischhofer.net>
  *
  */
 
@@ -53,7 +53,7 @@
 /* Version Information */
 
 #define SISUSB_VERSION         0
-#define SISUSB_REVISION        0
+#define SISUSB_REVISION                0
 #define SISUSB_PATCHLEVEL      8
 
 /* Include console and mode switching code? */
@@ -93,7 +93,7 @@
  */
 
 #ifdef __BIG_ENDIAN
-#define SISUSB_CORRECT_ENDIANNESS_PACKET(p)            \
+#define SISUSB_CORRECT_ENDIANNESS_PACKET(p)            \
        do {                                            \
                p->header  = cpu_to_le16(p->header);    \
                p->address = cpu_to_le32(p->address);   \
index 9b30f896281471ab05656fb0c07e33c4040ee40a..d51de0ff9e46350d327f86d1977bbf749127de37 100644 (file)
@@ -32,7 +32,7 @@
  * * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  * * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
- * Author:     Thomas Winischhofer <thomas@winischhofer.net>
+ * Author:     Thomas Winischhofer <thomas@winischhofer.net>
  *
  */
 
index 864bc0e96591afcedfe351342964041c6fee833d..d47301eaca7a205d9dbfa7a650e2f8d40325d815 100644 (file)
@@ -46,7 +46,7 @@
  * * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  * * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
- * Author:     Thomas Winischhofer <thomas@winischhofer.net>
+ * Author:     Thomas Winischhofer <thomas@winischhofer.net>
  *
  */
 
@@ -82,7 +82,7 @@
 /* Infoflag */
 #define SupportTV              0x0008
 #define SupportTV1024          0x0800
-#define SupportCHTV            0x0800
+#define SupportCHTV            0x0800
 #define Support64048060Hz      0x0800  /* Special for 640x480 LCD */
 #define SupportHiVision                0x0010
 #define SupportYPbPr750p       0x1000
index f325ecb29a61f9e9722063db9601ccb89df4cba2..9def598192c2c3096a1cbfab337a765fd9272c4f 100644 (file)
@@ -44,7 +44,7 @@
  * * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  * * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
- * Author:     Thomas Winischhofer <thomas@winischhofer.net>
+ * Author:     Thomas Winischhofer <thomas@winischhofer.net>
  *
  */