Re: [PATCH] mfd: sm501: fix mismatches of request_mem_region
From: Lee Jones
Date: Mon Dec 09 2019 - 08:14:02 EST
On Sat, 16 Nov 2019, Chuhong Yuan wrote:
> 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@xxxxxxxxx>
> ---
> drivers/mfd/sm501.c | 19 +++++++------------
> 1 file changed, 7 insertions(+), 12 deletions(-)
Applied, thanks.
--
Lee Jones [æçæ]
Linaro Services Technical Lead
Linaro.org â Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog