diff options
author | MyungJoo Ham <myungjoo.ham@samsung.com> | 2015-10-02 06:39:23 +0300 |
---|---|---|
committer | MyungJoo Ham <myungjoo.ham@samsung.com> | 2016-06-22 07:51:08 +0300 |
commit | 3e1d7fb0d279fea19eb4e36cc9bddf89264ba03f (patch) | |
tree | 52c99f6ff840b7cd78a744e183cd2991f7add3b8 /drivers/watchdog | |
parent | 33688abb2802ff3a230bd2441f765477b94cc89e (diff) | |
download | linux-3e1d7fb0d279fea19eb4e36cc9bddf89264ba03f.tar.xz |
PM / devfreq: devm_kzalloc to have dev pointer more precisely
devm_kzalloc of devfreq's statistics data structure has been
using its parent device as the dev allocated for.
If a device's devfreq is disabled in run-time,
such allocated memory won't be freed.
Desginating more precisely with the devfreq device
pointer fixes the issue.
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'drivers/watchdog')
0 files changed, 0 insertions, 0 deletions