From patchwork Tue Dec 12 18:46:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Scheller X-Patchwork-Id: 10108133 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B4132602B3 for ; Tue, 12 Dec 2017 18:47:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A8FF628FE1 for ; Tue, 12 Dec 2017 18:47:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9DE9729695; Tue, 12 Dec 2017 18:47:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4B7A928FE1 for ; Tue, 12 Dec 2017 18:47:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752152AbdLLSrH (ORCPT ); Tue, 12 Dec 2017 13:47:07 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:33259 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752077AbdLLSrE (ORCPT ); Tue, 12 Dec 2017 13:47:04 -0500 Received: by mail-wm0-f66.google.com with SMTP id g130so18643622wme.0 for ; Tue, 12 Dec 2017 10:47:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=gfbiPspeJU+2TMu81/9jsCXPa7IfPMKrLTMc9u4XS58=; b=dC3cZsEdCcOHK6FPXo3lSZkzomvUnO1L01QR+BKk7zQ/Zf9rqT/H2jlcjxo7f4yj3c tR9mvYVZJj1xuIdreRq71wCtpBg9oryJoCLa64/VeTAEnsq+RM51VYjX2ubPhs3q/8n8 KMb7Z1OzQAvyOnpndizeXgyQ8Z6wf1wuZ1xt27m9NdFQ9Yd8Q/X5Uerxu9Mnp7t2tB/S YbYBNGK1mclqpfbrkPN/eXKFcdQYEjtGh+GMKNvIZuKiXOMAh+EIy0m2D1GuWQMtuP3s wUod5n7sIwPOVhGbrIcEYredYxFfruoljS6N7oTSJVwJ7knXf6qQ8dn1yo9Bw2qOElYO AQ9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=gfbiPspeJU+2TMu81/9jsCXPa7IfPMKrLTMc9u4XS58=; b=CL+Qnqrg1PsciI59NwyxB79c8Ia986cIDXis3qkhaHl1YXJRWSO5fvuFxq/PvFUgmP hjbpeSzepvZRsslIFS8fdHB17xSiqkfvNWlTPJbE4O1Rk1v9dzOv4SBjs+1+xoj3roRq +R+1oEvT3lAUaa0uY38UxIMN6v5Kwta5mROeL/HI5VysjXwzbUjNv61Sbc6f7rVi6bGX bsfi5RCBtWnqyMg/QXZsfMgqBzEYRaHOllofDPb705BWLvfteWEHRScw1IG5fwpjtKd+ IV8l53QIdmZpvub9/gsDpGhdjbYTpe7MHvc+XhEYZNyqAEAtkTOR10xmD1G7aYQiWzDf EyFg== X-Gm-Message-State: AKGB3mJRSHb/czG0EBjBgs+vUVj+EHyOlJ0fzqvfz+SXDiBJ5YIDaQ26 Jot3TPp90xfiZDl94Mm0/JosCw== X-Google-Smtp-Source: ACJfBov2wk52tvMGsrzsqTGC3QtHCAHFQsQknuocpZo26w2NTuCNB1O2Y/Tr8ouV7oU681AJsVkSEg== X-Received: by 10.28.28.11 with SMTP id c11mr2619954wmc.161.1513104422752; Tue, 12 Dec 2017 10:47:02 -0800 (PST) Received: from dvbdev.wuest.de (ip-84-118-193-200.unity-media.net. [84.118.193.200]) by smtp.gmail.com with ESMTPSA id f132sm140551wmf.17.2017.12.12.10.47.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Dec 2017 10:47:02 -0800 (PST) From: Daniel Scheller To: linux-media@vger.kernel.org, mchehab@kernel.org, mchehab@s-opensource.com Cc: jasmin@anw.at Subject: [PATCH 3/3] [media] staging/cxd2099: cosmetics: improve strings Date: Tue, 12 Dec 2017 19:46:57 +0100 Message-Id: <20171212184657.19730-4-d.scheller.oss@gmail.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171212184657.19730-1-d.scheller.oss@gmail.com> References: <20171212184657.19730-1-d.scheller.oss@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Daniel Scheller Prefix dev_*() I2C address prints with 0x, change CXD2099 to CXD2099AR, change the MODULE_DESCRIPTION to a proper one and have a better (and shorter) description for the buffermode modparam. Signed-off-by: Daniel Scheller Signed-off-by: Jasmin Jessich --- drivers/staging/media/cxd2099/cxd2099.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/staging/media/cxd2099/cxd2099.c b/drivers/staging/media/cxd2099/cxd2099.c index 38d43647d4bf..227a329f0c6e 100644 --- a/drivers/staging/media/cxd2099/cxd2099.c +++ b/drivers/staging/media/cxd2099/cxd2099.c @@ -26,7 +26,7 @@ static int buffermode; module_param(buffermode, int, 0444); -MODULE_PARM_DESC(buffermode, "Enable use of the CXD2099AR buffer mode (default: disabled)"); +MODULE_PARM_DESC(buffermode, "Enable CXD2099AR buffer mode (default: disabled)"); static int read_data(struct dvb_ca_en50221 *ca, int slot, u8 *ebuf, int ecount); @@ -668,7 +668,8 @@ struct dvb_ca_en50221 *cxd2099_attach(struct cxd2099_cfg *cfg, u8 val; if (i2c_read_reg(i2c, cfg->adr, 0, &val) < 0) { - dev_info(&i2c->dev, "No CXD2099 detected at %02x\n", cfg->adr); + dev_info(&i2c->dev, "No CXD2099AR detected at 0x%02x\n", + cfg->adr); return NULL; } @@ -686,7 +687,7 @@ struct dvb_ca_en50221 *cxd2099_attach(struct cxd2099_cfg *cfg, ci->en = en_templ; ci->en.data = ci; init(ci); - dev_info(&i2c->dev, "Attached CXD2099AR at %02x\n", ci->cfg.adr); + dev_info(&i2c->dev, "Attached CXD2099AR at 0x%02x\n", ci->cfg.adr); if (!buffermode) { ci->en.read_data = NULL; @@ -699,6 +700,6 @@ struct dvb_ca_en50221 *cxd2099_attach(struct cxd2099_cfg *cfg, } EXPORT_SYMBOL(cxd2099_attach); -MODULE_DESCRIPTION("cxd2099"); +MODULE_DESCRIPTION("CXD2099AR Common Interface controller driver"); MODULE_AUTHOR("Ralph Metzler"); MODULE_LICENSE("GPL");