aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2017-01-16 07:26:05 -0500
committerMyungJoo Ham <myungjoo.ham@samsung.com>2017-01-31 00:12:20 -0500
commitb0d75c08092f870825fbb766ac191faedd248918 (patch)
treeb26994a61cf888e6e49278ce5201db87700e3011
parentc701335e7afaef95519b0a3a405bb646e0ffef5f (diff)
PM / devfreq: exynos-ppmu: Show the registred device for ppmu device
This patch just adds the simple log to show the PPMU device's registration during the kernel booting. Cc: Kukjin Kim <kgene@kernel.org> Cc: Krzysztof Kozlowski <krzk@kernel.org> Cc: Javier Martinez Canillas <javier@osg.samsung.com> Cc: linux-arm-kernel@lists.infradead.org Cc: linux-samsung-soc@vger.kernel.org Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
-rw-r--r--drivers/devfreq/event/exynos-ppmu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/devfreq/event/exynos-ppmu.c b/drivers/devfreq/event/exynos-ppmu.c
index fb3706faf5bd..9b7350935b73 100644
--- a/drivers/devfreq/event/exynos-ppmu.c
+++ b/drivers/devfreq/event/exynos-ppmu.c
@@ -643,6 +643,9 @@ static int exynos_ppmu_probe(struct platform_device *pdev)
643 "failed to add devfreq-event device\n"); 643 "failed to add devfreq-event device\n");
644 return PTR_ERR(edev[i]); 644 return PTR_ERR(edev[i]);
645 } 645 }
646
647 pr_info("exynos-ppmu: new PPMU device registered %s (%s)\n",
648 dev_name(&pdev->dev), desc[i].name);
646 } 649 }
647 650
648 clk_prepare_enable(info->ppmu.clk); 651 clk_prepare_enable(info->ppmu.clk);