lkml.org 
[lkml]   [2017]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v3 2/4] PM / devfreq: exynos-ppmu: Show the registred device for ppmu device
    Date
    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>
    ---
    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
    \
     
     \ /
      Last update: 2017-01-16 13:27    [W:2.572 / U:0.644 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site