aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/string_helpers.h
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2021-04-12 16:00:26 +0000
committerWolfram Sang <wsa@kernel.org>2021-04-13 14:19:36 +0200
commit4aa3e48d2e09424449b2e0f2d5581388ba9e261b (patch)
treedf7558efad4f93f1328e99b58c686c761fa8a002 /include/linux/string_helpers.h
parenti2c: mpc: use device managed APIs (diff)
downloadwireguard-linux-4aa3e48d2e09424449b2e0f2d5581388ba9e261b.tar.xz
wireguard-linux-4aa3e48d2e09424449b2e0f2d5581388ba9e261b.zip
i2c: mpc: drop release for resource allocated with devm_*
It's not necessary to release resource which allocated with devm_* and those release may leads to a double free. And also remove useless irq_dispose_mapping() call since mapping not created. Fixes: 09aab7add7bf ("i2c: mpc: use device managed APIs") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'include/linux/string_helpers.h')
0 files changed, 0 insertions, 0 deletions