commit | 6d3cbfa718eeedd70efb9eb04ce9b261b6fa5b7b | [log] [tgz] |
---|---|---|
author | Geliang Tang <geliangtang@163.com> | Thu Oct 01 22:18:19 2015 +0800 |
committer | MyungJoo Ham <myungjoo.ham@samsung.com> | Fri Oct 02 11:05:58 2015 +0900 |
tree | 0bd2a0dc313bea46119fee336a2ea476e05b22ee | |
parent | 14a21e7ba8cf6eab968310c92ca19a00f13ce3d9 [diff] |
PM / devfreq: fix double kfree When device_register() fails, kfree(devfreq) is called already in devfreq_dev_release(), hence there is no need to call kfree(devfreq) in err_dev again. Signed-off-by: Geliang Tang <geliangtang@163.com> Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>