aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-06-05 02:13:00 -0400
committerMyungJoo Ham <myungjoo.ham@samsung.com>2013-10-28 07:12:30 -0400
commit81c12a0a79575a22b64f050ea2e626f12d124841 (patch)
treed101cbfb1cefe921994104a27b083b487a58bacd
parent8ab8831a503e8996edd727d98ec5be62b8d799d9 (diff)
PM / devfreq: Remove redundant platform_set_drvdata() in exynos5_bus.c
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com> Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
-rw-r--r--drivers/devfreq/exynos/exynos5_bus.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/devfreq/exynos/exynos5_bus.c b/drivers/devfreq/exynos/exynos5_bus.c
index cd1e6309887f..9a82419c29eb 100644
--- a/drivers/devfreq/exynos/exynos5_bus.c
+++ b/drivers/devfreq/exynos/exynos5_bus.c
@@ -419,7 +419,6 @@ static int exynos5_busfreq_int_probe(struct platform_device *pdev)
419 419
420err_devfreq_add: 420err_devfreq_add:
421 devfreq_remove_device(data->devfreq); 421 devfreq_remove_device(data->devfreq);
422 platform_set_drvdata(pdev, NULL);
423err_opp_add: 422err_opp_add:
424 clk_put(data->int_clk); 423 clk_put(data->int_clk);
425err_clock: 424err_clock:
@@ -437,7 +436,6 @@ static int exynos5_busfreq_int_remove(struct platform_device *pdev)
437 devfreq_remove_device(data->devfreq); 436 devfreq_remove_device(data->devfreq);
438 regulator_put(data->vdd_int); 437 regulator_put(data->vdd_int);
439 clk_put(data->int_clk); 438 clk_put(data->int_clk);
440 platform_set_drvdata(pdev, NULL);
441 439
442 return 0; 440 return 0;
443} 441}