summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorArvind Yadav2018-03-30 13:44:03 +0200
committerMyungJoo Ham2018-07-18 06:56:49 +0200
commit2d803dc8f7a5f622ac47c3b650834ada3a2659b9 (patch)
treeac17f54196ca8b0838971930ea127b2fef78a1c2 /firmware
parentPM / devfreq: exynos-ppmu: Delete an error message for a failed memory alloca... (diff)
downloadkernel-qcow2-linux-2d803dc8f7a5f622ac47c3b650834ada3a2659b9.tar.gz
kernel-qcow2-linux-2d803dc8f7a5f622ac47c3b650834ada3a2659b9.tar.xz
kernel-qcow2-linux-2d803dc8f7a5f622ac47c3b650834ada3a2659b9.zip
PM / devfreq: use put_device() instead of kfree()
Never directly free @dev after calling device_register() or device_unregister(), even if device_register() returned an error. Always use put_device() to give up the reference initialized. Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions