Skip to content

Commit

Permalink
PM / devfreq: exynos-ppmu: Show the registred device for ppmu device
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chanwoo Choi authored and MyungJoo Ham committed Jan 31, 2017
1 parent c701335 commit b0d75c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/devfreq/event/exynos-ppmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b0d75c0

Please sign in to comment.