Commit 81c12a0a79575a22b64f050ea2e626f12d124841
Committed by
MyungJoo Ham
1 parent
8ab8831a50
Exists in
master
and in
16 other branches
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>
Showing 1 changed file with 0 additions and 2 deletions Side-by-side Diff
drivers/devfreq/exynos/exynos5_bus.c
... | ... | @@ -419,7 +419,6 @@ |
419 | 419 | |
420 | 420 | err_devfreq_add: |
421 | 421 | devfreq_remove_device(data->devfreq); |
422 | - platform_set_drvdata(pdev, NULL); | |
423 | 422 | err_opp_add: |
424 | 423 | clk_put(data->int_clk); |
425 | 424 | err_clock: |
... | ... | @@ -437,7 +436,6 @@ |
437 | 436 | devfreq_remove_device(data->devfreq); |
438 | 437 | regulator_put(data->vdd_int); |
439 | 438 | clk_put(data->int_clk); |
440 | - platform_set_drvdata(pdev, NULL); | |
441 | 439 | |
442 | 440 | return 0; |
443 | 441 | } |