PM / devfreq: exynos-ppmu: Show the registred device for ppmu device
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 16 Jan 2017 12:26:05 +0000 (21:26 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Mon, 4 Sep 2017 05:33:31 +0000 (14:33 +0900)
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>
drivers/devfreq/event/exynos-ppmu.c

index 64ab956..7b68276 100644 (file)
@@ -487,6 +487,9 @@ static int exynos_ppmu_probe(struct platform_device *pdev)
                                "failed to add devfreq-event device\n");
                        goto err;
                }
+
+               pr_info("exynos-ppmu: new PPMU device registered %s (%s)\n",
+                       dev_name(&pdev->dev), desc[i].name);
        }
 
        clk_prepare_enable(info->ppmu.clk);