From patchwork Fri Sep 4 03:21:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Klimov X-Patchwork-Id: 7119861 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 7ED48BEEC1 for ; Fri, 4 Sep 2015 03:22:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A9BBE20891 for ; Fri, 4 Sep 2015 03:22:23 +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 DBB892081B for ; Fri, 4 Sep 2015 03:22:22 +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 1ZXha2-0001dO-Js; Fri, 04 Sep 2015 03:22:22 +0000 Received: from mail-lb0-f175.google.com ([209.85.217.175]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZXhZz-0001bm-J1 for linux-mediatek@lists.infradead.org; Fri, 04 Sep 2015 03:22:20 +0000 Received: by lbcao8 with SMTP id ao8so4283670lbc.3 for ; Thu, 03 Sep 2015 20:21:55 -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=5Ero+Lca6MbpCyFI08PmYM6CU1R/+EfOUQW2ydLBTGE=; b=I88e9cuoFX9FG6pc2GTzoz6ZwxcyCZ11ev2tdAyvcJyZju9yYRW8BvBQ0YOiNw0Qps h+SVwX7DMaWLCrSGc5HSCfH7IxeOcmZeB/4PLVEXD+NFDSE5lRO5JstMErS+zxTmIq8C A76E44nusUND/a+HQyBRO4PEs7WSLJbZjw52JoGW65dN3dz9WsfTfF6y8DhHvDhvTijZ Q0tIXaxuGBU9Nnt157P8lSoioyDfK19Ukk7uXZCXVeSxWUPCOS9heIVtNhrKhGEOLgWw 4NEHymXG5R53RqckAfQmy+qEtEVFO4VCE8B/T2mkrVDpdJv46lGlwHBwRFra/msRV7iI 65Qw== X-Gm-Message-State: ALoCoQlGLXDvj6tdQ157K7NoP3z0Ef6WGtBtAI3t65djRLdTru9SZvMt2z/1p/GLKjhzMSwu1af/ X-Received: by 10.152.5.2 with SMTP id o2mr1261984lao.105.1441336915217; Thu, 03 Sep 2015 20:21:55 -0700 (PDT) Received: from localhost.localdomain ([46.39.50.164]) by smtp.gmail.com with ESMTPSA id t2sm216126lag.36.2015.09.03.20.21.53 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 03 Sep 2015 20:21:54 -0700 (PDT) From: Alexey Klimov To: daniel.lezcano@linaro.org, linux-mediatek@lists.infradead.org, matthias.bgg@gmail.com Subject: [RFC PATCH 1/3] clocksource: mtk_timer: add pr_fmt define Date: Fri, 4 Sep 2015 06:21:38 +0300 Message-Id: <1441336900-15095-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-20150903_202219_816322_0CC15668 X-CRM114-Status: UNSURE ( 7.49 ) 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: yingjoe.chen@mediatek.com, tglx@linutronix.de, Alexey Klimov , linux-kernel@vger.kernel.org, klimov.linux@gmail.com 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 uncler what subsystem/driver emits some messages to dmesg in function mtk_init_timer(). Use pr_fmt to auto-prefix the messages appropriately. Signed-off-by: Alexey Klimov Acked-by: Matthias Brugger --- 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