Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1564647

[PATCH v4 2/4] PM / devfreq: exynos-ppmu: Show the registred device for ppmu device

From Chanwoo Choi <cw00.choi@samsung.com>
Newsgroups linux.kernel
Subject [PATCH v4 2/4] PM / devfreq: exynos-ppmu: Show the registred device for ppmu device
Date 2017-01-23 04:40 +0100
Message-ID <t2DE7-1bF-29@gated-at.bofh.it> (permalink)
References <t2DE6-1bF-7@gated-at.bofh.it> <t2DE7-1bF-31@gated-at.bofh.it> <t2DE6-1bF-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


This patch just adds the simple log to show the PPMU device's registration
during the kernel booting.

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..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)
 				"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);
-- 
1.9.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v4 0/4] PM / devfreq: Update the devfreq and devfreq-event  device Chanwoo Choi <cw00.choi@samsung.com> - 2017-01-23 04:40 +0100
  [PATCH v4 2/4] PM / devfreq: exynos-ppmu: Show the registred device  for ppmu device Chanwoo Choi <cw00.choi@samsung.com> - 2017-01-23 04:40 +0100
  RE: [PATCH v4 1/4] PM / devfreq: Fix the wrong description for  userspace governor MyungJoo Ham <myungjoo.ham@samsung.com> - 2017-01-24 04:50 +0100
    Re: [PATCH v4 1/4] PM / devfreq: Fix the wrong description for  userspace governor "Rafael J. Wysocki" <rafael@kernel.org> - 2017-01-30 11:50 +0100
  RE: [PATCH v4 2/4] PM / devfreq: exynos-ppmu: Show the registred  device for ppmu device MyungJoo Ham <myungjoo.ham@samsung.com> - 2017-01-24 04:50 +0100
    Re: [PATCH v4 2/4] PM / devfreq: exynos-ppmu: Show the registred  device for ppmu device Chanwoo Choi <cw00.choi@samsung.com> - 2017-01-24 11:30 +0100

csiph-web