From: Chanwoo Choi Date: Mon, 16 Jan 2017 12:26:05 +0000 (+0900) Subject: PM / devfreq: exynos-ppmu: Show the registred device for ppmu device X-Git-Tag: v4.11-rc1~151^2~3^2^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b0d75c08092f870825fbb766ac191faedd248918;p=platform%2Fkernel%2Flinux-exynos.git 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 Cc: Krzysztof Kozlowski Cc: Javier Martinez Canillas Cc: linux-arm-kernel@lists.infradead.org Cc: linux-samsung-soc@vger.kernel.org Signed-off-by: Chanwoo Choi Signed-off-by: MyungJoo Ham --- diff --git a/drivers/devfreq/event/exynos-ppmu.c b/drivers/devfreq/event/exynos-ppmu.c index fb3706f..9b73509 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) "failed to add devfreq-event device\n"); return PTR_ERR(edev[i]); } + + pr_info("exynos-ppmu: new PPMU device registered %s (%s)\n", + dev_name(&pdev->dev), desc[i].name); } clk_prepare_enable(info->ppmu.clk);