diff options
| author | Axel Lin <axel.lin@ingics.com> | 2016-10-20 21:09:09 -0400 |
|---|---|---|
| committer | MyungJoo Ham <myungjoo.ham@samsung.com> | 2016-11-16 21:31:28 -0500 |
| commit | 6bbda2d4f83f7bfeb20fcf67670c47193d6ee6b0 (patch) | |
| tree | efa509496a9574a7859c59b4939f094f9a53ab89 /drivers/devfreq/event/exynos-ppmu.c | |
| parent | f8dbe363ba01de9bebb023f499e7bf9c31f028ab (diff) | |
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/exynos-ppmu.c')
| -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 @@ | |||
| 15 | #include <linux/io.h> | 15 | #include <linux/io.h> |
| 16 | #include <linux/kernel.h> | 16 | #include <linux/kernel.h> |
| 17 | #include <linux/module.h> | 17 | #include <linux/module.h> |
| 18 | #include <linux/mutex.h> | ||
| 19 | #include <linux/of_address.h> | 18 | #include <linux/of_address.h> |
| 20 | #include <linux/platform_device.h> | 19 | #include <linux/platform_device.h> |
| 21 | #include <linux/suspend.h> | 20 | #include <linux/suspend.h> |
| @@ -34,7 +33,6 @@ struct exynos_ppmu { | |||
| 34 | unsigned int num_events; | 33 | unsigned int num_events; |
| 35 | 34 | ||
| 36 | struct device *dev; | 35 | struct device *dev; |
| 37 | struct mutex lock; | ||
| 38 | 36 | ||
| 39 | struct exynos_ppmu_data ppmu; | 37 | struct exynos_ppmu_data ppmu; |
| 40 | }; | 38 | }; |
| @@ -462,7 +460,6 @@ static int exynos_ppmu_probe(struct platform_device *pdev) | |||
| 462 | if (!info) | 460 | if (!info) |
| 463 | return -ENOMEM; | 461 | return -ENOMEM; |
| 464 | 462 | ||
| 465 | mutex_init(&info->lock); | ||
| 466 | info->dev = &pdev->dev; | 463 | info->dev = &pdev->dev; |
| 467 | 464 | ||
| 468 | /* Parse dt data to get resource */ | 465 | /* Parse dt data to get resource */ |
