Skip to content
Commit 652b7b67 authored by Wei Yongjun's avatar Wei Yongjun Committed by Lee Jones
Browse files

mfd: wcd934x: Drop kfree for memory allocated with devm_kzalloc



It's not necessary to free memory allocated with devm_kzalloc
and using kfree leads to a double free.

Fixes: 6ac7e4d7 ("mfd: wcd934x: Add support to wcd9340/wcd9341 codec")
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 97eda5dc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment