drm/i915: Remove spurious semicolons
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>
This commit is contained in:
parent
6df4027b84
commit
6ed6bd84ea
5 changed files with 5 additions and 5 deletions
|
@ -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) {
|
if (i2c_transfer(adapter, msgs, 2) == 2) {
|
||||||
*ch = in_buf[0];
|
*ch = in_buf[0];
|
||||||
return true;
|
return true;
|
||||||
};
|
}
|
||||||
|
|
||||||
if (!ch7xxx->quiet) {
|
if (!ch7xxx->quiet) {
|
||||||
DRM_DEBUG_KMS("Unable to read register 0x%02x from %s:%02x.\n",
|
DRM_DEBUG_KMS("Unable to read register 0x%02x from %s:%02x.\n",
|
||||||
|
|
|
@ -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) {
|
if (i2c_transfer(adapter, msgs, 3) == 3) {
|
||||||
*data = (in_buf[1] << 8) | in_buf[0];
|
*data = (in_buf[1] << 8) | in_buf[0];
|
||||||
return true;
|
return true;
|
||||||
};
|
}
|
||||||
|
|
||||||
if (!priv->quiet) {
|
if (!priv->quiet) {
|
||||||
DRM_DEBUG_KMS("Unable to read register 0x%02x from "
|
DRM_DEBUG_KMS("Unable to read register 0x%02x from "
|
||||||
|
|
|
@ -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) {
|
if (i2c_transfer(adapter, msgs, 2) == 2) {
|
||||||
*ch = in_buf[0];
|
*ch = in_buf[0];
|
||||||
return true;
|
return true;
|
||||||
};
|
}
|
||||||
|
|
||||||
if (!ns->quiet) {
|
if (!ns->quiet) {
|
||||||
DRM_DEBUG_KMS
|
DRM_DEBUG_KMS
|
||||||
|
|
|
@ -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) {
|
if (i2c_transfer(adapter, msgs, 2) == 2) {
|
||||||
*ch = in_buf[0];
|
*ch = in_buf[0];
|
||||||
return true;
|
return true;
|
||||||
};
|
}
|
||||||
|
|
||||||
if (!sil->quiet) {
|
if (!sil->quiet) {
|
||||||
DRM_DEBUG_KMS("Unable to read register 0x%02x from %s:%02x.\n",
|
DRM_DEBUG_KMS("Unable to read register 0x%02x from %s:%02x.\n",
|
||||||
|
|
|
@ -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) {
|
if (i2c_transfer(adapter, msgs, 2) == 2) {
|
||||||
*ch = in_buf[0];
|
*ch = in_buf[0];
|
||||||
return true;
|
return true;
|
||||||
};
|
}
|
||||||
|
|
||||||
if (!tfp->quiet) {
|
if (!tfp->quiet) {
|
||||||
DRM_DEBUG_KMS("Unable to read register 0x%02x from %s:%02x.\n",
|
DRM_DEBUG_KMS("Unable to read register 0x%02x from %s:%02x.\n",
|
||||||
|
|
Loading…
Add table
Reference in a new issue