Commit 6bbda2d4 authored by Axel Lin's avatar Axel Lin Committed by MyungJoo Ham

PM / devfreq: exynos-ppmu: Remove unused mutex from struct exynos_ppmu

The mutex is not used at all, remove it.
Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Acked-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: default avatarMyungJoo Ham <myungjoo.ham@samsung.com>
parent f8dbe363
...@@ -15,7 +15,6 @@ ...@@ -15,7 +15,6 @@
#include <linux/io.h> #include <linux/io.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/mutex.h>
#include <linux/of_address.h> #include <linux/of_address.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/suspend.h> #include <linux/suspend.h>
...@@ -34,7 +33,6 @@ struct exynos_ppmu { ...@@ -34,7 +33,6 @@ struct exynos_ppmu {
unsigned int num_events; unsigned int num_events;
struct device *dev; struct device *dev;
struct mutex lock;
struct exynos_ppmu_data ppmu; struct exynos_ppmu_data ppmu;
}; };
...@@ -462,7 +460,6 @@ static int exynos_ppmu_probe(struct platform_device *pdev) ...@@ -462,7 +460,6 @@ static int exynos_ppmu_probe(struct platform_device *pdev)
if (!info) if (!info)
return -ENOMEM; return -ENOMEM;
mutex_init(&info->lock);
info->dev = &pdev->dev; info->dev = &pdev->dev;
/* Parse dt data to get resource */ /* Parse dt data to get resource */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment