lkml.org 
[lkml]   [2016]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 6/6] PM / devfreq: event: exynos-ppmu: Add the completion log of device registration
Date
This patch just adds the simple log to show the PPMU device's registration
during the kernel booting.

For example on exynos4412-odroidu3 board as following:
[ 1.845929] exynos-ppmu: new PPMU device registered 106a0000.ppmu_dmc0
[ 1.848997] exynos-ppmu: new PPMU device registered 106b0000.ppmu_dmc1
[ 1.853512] exynos-ppmu: new PPMU device registered 112a0000.ppmu_rightbus
[ 1.860524] exynos-ppmu: new PPMU device registered 116a0000.ppmu_leftbus0

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
---
drivers/devfreq/event/exynos-ppmu.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/drivers/devfreq/event/exynos-ppmu.c b/drivers/devfreq/event/exynos-ppmu.c
index fb3706faf5bd..b2696181c929 100644
--- a/drivers/devfreq/event/exynos-ppmu.c
+++ b/drivers/devfreq/event/exynos-ppmu.c
@@ -647,6 +647,9 @@ static int exynos_ppmu_probe(struct platform_device *pdev)

clk_prepare_enable(info->ppmu.clk);

+ pr_info("exynos-ppmu: new PPMU device registered %s\n",
+ dev_name(&pdev->dev));
+
return 0;
}

--
1.9.1
\
 
 \ /
  Last update: 2016-11-24 06:02    [W:0.481 / U:0.696 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site