diff options
author | Axel Lin <axel.lin@ingics.com> | 2016-10-21 03:09:09 +0200 |
---|---|---|
committer | MyungJoo Ham <myungjoo.ham@samsung.com> | 2016-11-17 03:31:28 +0100 |
commit | 6bbda2d4f83f7bfeb20fcf67670c47193d6ee6b0 (patch) | |
tree | efa509496a9574a7859c59b4939f094f9a53ab89 /drivers/devfreq/event | |
parent | PM / devfreq: exynos-ppmu: ppmu_events array should not be NULL terminated (diff) | |
download | linux-6bbda2d4f83f7bfeb20fcf67670c47193d6ee6b0.tar.xz linux-6bbda2d4f83f7bfeb20fcf67670c47193d6ee6b0.zip |
PM / devfreq: exynos-ppmu: Remove unused mutex from struct exynos_ppmu
The mutex is not used at all, remove it.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'drivers/devfreq/event')
-rw-r--r-- | drivers/devfreq/event/exynos-ppmu.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/devfreq/event/exynos-ppmu.c b/drivers/devfreq/event/exynos-ppmu.c index 958285d5d64b..107eb91a9415 100644 --- a/drivers/devfreq/event/exynos-ppmu.c +++ b/drivers/devfreq/event/exynos-ppmu.c @@ -15,7 +15,6 @@ #include <linux/io.h> #include <linux/kernel.h> #include <linux/module.h> -#include <linux/mutex.h> #include <linux/of_address.h> #include <linux/platform_device.h> #include <linux/suspend.h> @@ -34,7 +33,6 @@ struct exynos_ppmu { unsigned int num_events; struct device *dev; - struct mutex lock; struct exynos_ppmu_data ppmu; }; @@ -462,7 +460,6 @@ static int exynos_ppmu_probe(struct platform_device *pdev) if (!info) return -ENOMEM; - mutex_init(&info->lock); info->dev = &pdev->dev; /* Parse dt data to get resource */ |