PM / devfreq: rk3399_dmc: Remove explictly regulator_put call in .remove
commitda4a64481b3504a6f4f07c08ff03be8f08d9638d
authorAxel Lin <axel.lin@ingics.com>
Sun, 18 Sep 2016 02:41:05 +0000 (18 10:41 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 19 Sep 2016 11:36:20 +0000 (19 13:36 +0200)
treee23513207eecc9b39e37b4abb3052cc5e1fc6935
parent54dec69bb975e71db83baf82bf4043df545b204c
PM / devfreq: rk3399_dmc: Remove explictly regulator_put call in .remove

Current code uses devm_regulator_get() in .probe so a regulator_put() will
be automatically called when unload the module. Remove the explictly
regulator_put() call and then we can also remove rk3399_dmcfreq_remove().

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/devfreq/rk3399_dmc.c