drm/i915: Remove spurious semicolons
authorDamien Lespiau <damien.lespiau@intel.com>
Wed, 9 Apr 2014 13:33:08 +0000 (14:33 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 9 Apr 2014 19:54:33 +0000 (21:54 +0200)
Found by running the semicolon.cocci spatch:

  https://github.com/coccinelle/coccinellery/blob/master/semicolon/semicolon.cocci

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/dvo_ch7xxx.c
drivers/gpu/drm/i915/dvo_ivch.c
drivers/gpu/drm/i915/dvo_ns2501.c
drivers/gpu/drm/i915/dvo_sil164.c
drivers/gpu/drm/i915/dvo_tfp410.c

index a0f5bdd694919a86206ab210e5eb30827d297232..80449f47596085406cb525fab2288c4489c2811e 100644 (file)
@@ -160,7 +160,7 @@ static bool ch7xxx_readb(struct intel_dvo_device *dvo, int addr, uint8_t *ch)
        if (i2c_transfer(adapter, msgs, 2) == 2) {
                *ch = in_buf[0];
                return true;
-       };
+       }
 
        if (!ch7xxx->quiet) {
                DRM_DEBUG_KMS("Unable to read register 0x%02x from %s:%02x.\n",
index 0f1865d7d4d8412918e99cbf92841ba85d0ec5d8..0f2587ff347c9576581ab6d730099579196f8078 100644 (file)
@@ -195,7 +195,7 @@ static bool ivch_read(struct intel_dvo_device *dvo, int addr, uint16_t *data)
        if (i2c_transfer(adapter, msgs, 3) == 3) {
                *data = (in_buf[1] << 8) | in_buf[0];
                return true;
-       };
+       }
 
        if (!priv->quiet) {
                DRM_DEBUG_KMS("Unable to read register 0x%02x from "
index ccac3a151c6c4ed3ef1486fdec66588321696458..74f2af7c2d3ed41688494a41b78e28390cf7c2b5 100644 (file)
@@ -121,7 +121,7 @@ static bool ns2501_readb(struct intel_dvo_device *dvo, int addr, uint8_t * ch)
        if (i2c_transfer(adapter, msgs, 2) == 2) {
                *ch = in_buf[0];
                return true;
-       };
+       }
 
        if (!ns->quiet) {
                DRM_DEBUG_KMS
index 7b3e9e9362003461951dfa737809f8ac916db47e..fa011496707659a1e1439dad0297d2f920c34039 100644 (file)
@@ -93,7 +93,7 @@ static bool sil164_readb(struct intel_dvo_device *dvo, int addr, uint8_t *ch)
        if (i2c_transfer(adapter, msgs, 2) == 2) {
                *ch = in_buf[0];
                return true;
-       };
+       }
 
        if (!sil->quiet) {
                DRM_DEBUG_KMS("Unable to read register 0x%02x from %s:%02x.\n",
index 12ea4b16469277d971f78a5b194079d67dcb7781..7853719a0e8132dc5af19dcdee0089f236ff2b45 100644 (file)
@@ -118,7 +118,7 @@ static bool tfp410_readb(struct intel_dvo_device *dvo, int addr, uint8_t *ch)
        if (i2c_transfer(adapter, msgs, 2) == 2) {
                *ch = in_buf[0];
                return true;
-       };
+       }
 
        if (!tfp->quiet) {
                DRM_DEBUG_KMS("Unable to read register 0x%02x from %s:%02x.\n",