From patchwork Mon Oct 19 00:09:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Klimov X-Patchwork-Id: 7432431 Return-Path: X-Original-To: patchwork-linux-mediatek@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 204EFBF90C for ; Mon, 19 Oct 2015 00:10:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 47B772066D for ; Mon, 19 Oct 2015 00:10:24 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 588FD2064E for ; Mon, 19 Oct 2015 00:10:23 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zny1t-00024G-Jo; Mon, 19 Oct 2015 00:10:21 +0000 Received: from mail-lb0-f171.google.com ([209.85.217.171]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zny1r-0000qq-4H for linux-mediatek@lists.infradead.org; Mon, 19 Oct 2015 00:10:20 +0000 Received: by lbbes7 with SMTP id es7so40633974lbb.2 for ; Sun, 18 Oct 2015 17:09:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=57c/6Imu8z/fWesXV6GIQKCsDKctBG+FBYWR3vF9buc=; b=OLXCMexx/zbmieE/AtXEI9elKdHmwAFndDH89dRvp0p34GT4Hth3dZz5Zm2omGgXEa 59qsAVOUiwkTkIMrMVVPZ/OwIJ4ck6yacj0CACq7PI1nFsDDgmmQOajGNN+k3SVn+gsC 4MuXqYPgOWBSE8PgTlhYqOGDI1iqdA2v4PYZHd5dLgpVIXc3CHRmu+HhJV405mUJeQ2J mPGJCTOyNBKFfjr3bXk8knEgjYEdCzoTyWGKnvIX0+GisMo86nmJ0r0D2rSzis7kiXVP KBTSirCPuPVDFeC4/e9rrJgEUxX+N4Wq8A1+Dtq2T6/HgMPZxAHsWbyADS3/lIZL+FaQ NMew== X-Gm-Message-State: ALoCoQm9dfd7Fr7othOVaFNziN1pO1I2nlwdpYFcCRZ/7VOs9ou8BGGaiOyAagqAc/8QZo9l1wLc X-Received: by 10.112.162.162 with SMTP id yb2mr13126652lbb.94.1445213392692; Sun, 18 Oct 2015 17:09:52 -0700 (PDT) Received: from localhost.localdomain ([188.123.252.216]) by smtp.gmail.com with ESMTPSA id t188sm4878359lfe.33.2015.10.18.17.09.51 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 18 Oct 2015 17:09:51 -0700 (PDT) From: Alexey Klimov To: daniel.lezcano@linaro.org, matthias.bgg@gmail.com, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/3] clocksource: mtk_timer: add pr_fmt define Date: Mon, 19 Oct 2015 03:09:23 +0300 Message-Id: <1445213365-24530-1-git-send-email-alexey.klimov@linaro.org> X-Mailer: git-send-email 2.1.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151018_171019_371488_3EBC3725 X-CRM114-Status: UNSURE ( 7.93 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: klimov.linux@gmail.com, linux-mediatek@lists.infradead.org, joe@perches.com, yingjoe.chen@mediatek.com, tglx@linutronix.de, Alexey Klimov MIME-Version: 1.0 Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP It's a bit unclear what subsystem/driver emits some messages to dmesg in function mtk_init_timer(). Use pr_fmt to auto-prefix the messages appropriately. Acked-by: Matthias Brugger Signed-off-by: Alexey Klimov --- drivers/clocksource/mtk_timer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clocksource/mtk_timer.c b/drivers/clocksource/mtk_timer.c index 50f0641..ca5ea9e 100644 --- a/drivers/clocksource/mtk_timer.c +++ b/drivers/clocksource/mtk_timer.c @@ -16,6 +16,8 @@ * GNU General Public License for more details. */ +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include #include #include