diff options
author | Chuhong Yuan <hslester96@gmail.com> | 2019-11-16 18:13:08 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2020-01-24 10:33:56 +0300 |
commit | b88aa8509828b56919b3cb0901803354fc156320 (patch) | |
tree | 8237c9182b3980775a4bc896b6fc1598c230250c /drivers/mfd/dln2.c | |
parent | f2a19c5b78670af5986ab0a625631f8f8a6adac1 (diff) | |
download | linux-b88aa8509828b56919b3cb0901803354fc156320.tar.xz |
mfd: sm501: Fix mismatches of request_mem_region
This driver misuses release_resource + kfree to match request_mem_region,
which is incorrect.
The right way is to use release_mem_region.
Replace the mismatched calls with the right ones to fix it.
Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/dln2.c')
0 files changed, 0 insertions, 0 deletions