Staging: crystalhd: fixed whitespace and string style issues
authorRobert Foss <dev@robertfoss.se>
Wed, 28 Aug 2013 18:51:47 +0000 (20:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Aug 2013 22:28:43 +0000 (15:28 -0700)
Fixed 3 instances of user-visible string being broken into two string.
Fixed 2 instances of illegal whitespace.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/crystalhd/crystalhd_cmds.c
drivers/staging/crystalhd/crystalhd_hw.c
drivers/staging/crystalhd/crystalhd_lnx.c

index 3ab502b..07a2f24 100644 (file)
@@ -94,8 +94,7 @@ static enum BC_STATUS bc_cproc_notify_mode(struct crystalhd_cmd *ctx,
        for (i = 0; i < BC_LINK_MAX_OPENS; i++) {
                if (ctx->user[i].mode == DTS_DIAG_MODE ||
                    ctx->user[i].mode == DTS_PLAYBACK_MODE) {
-                       BCMLOG_ERR("multiple playback sessions are not "
-                                  "supported..\n");
+                       BCMLOG_ERR("multiple playback sessions are not supported..\n");
                        return BC_STS_ERR_USAGE;
                }
        }
index 0c8cb32..5845e89 100644 (file)
@@ -1061,7 +1061,7 @@ static void cpy_pib_to_app(struct c011_pib *src_pib,
        dst_pib->aspect_ratio        = src_pib->ppb.aspect_ratio;
        dst_pib->colour_primaries     = src_pib->ppb.colour_primaries;
        dst_pib->picture_meta_payload = src_pib->ppb.picture_meta_payload;
-       dst_pib->frame_rate             = src_pib->resolution ;
+       dst_pib->frame_rate             = src_pib->resolution;
        return;
 }
 
@@ -1553,11 +1553,10 @@ static void crystalhd_rx_isr(struct crystalhd_hw *hw, uint32_t intr_sts)
                                crystalhd_get_dnsz(hw, i, &y_dn_sz, &uv_dn_sz);
                                /* FIXME: jarod: this is where
                                 my mini pci-e card is tripping up */
-                               BCMLOG(BCMLOG_DBG, "list_index:%x rx[%d] Y:%x "
-                                      "UV:%x Int:%x YDnSz:%x UVDnSz:%x\n",
+                               BCMLOG(BCMLOG_DBG, "list_index:%x rx[%d] Y:%x UV:%x Int:%x YDnSz:%x UVDnSz:%x\n",
                                       i, hw->stats.rx_errors, y_err_sts,
                                       uv_err_sts, intr_sts, y_dn_sz,
-                                                uv_dn_sz);
+                                      uv_dn_sz);
                                hw->rx_list_sts[i] = sts_free;
                                comp_sts = BC_STS_ERROR;
                                break;
index c1f6163..b17fbf8 100644 (file)
@@ -545,8 +545,7 @@ static int chd_dec_pci_probe(struct pci_dev *pdev,
        int rc;
        enum BC_STATUS sts = BC_STS_SUCCESS;
 
-       BCMLOG(BCMLOG_DBG, "PCI_INFO: Vendor:0x%04x Device:0x%04x "
-              "s_vendor:0x%04x s_device: 0x%04x\n",
+       BCMLOG(BCMLOG_DBG, "PCI_INFO: Vendor:0x%04x Device:0x%04x s_vendor:0x%04x s_device: 0x%04x\n",
               pdev->vendor, pdev->device, pdev->subsystem_vendor,
               pdev->subsystem_device);