Skip to content
Commit b88aa850 authored by Chuhong Yuan's avatar Chuhong Yuan Committed by Lee Jones
Browse files

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: default avatarChuhong Yuan <hslester96@gmail.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent f2a19c5b
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