Re: [PATCH v2] drivers/clocksource/qcom: Add missing iounmap() on errors in msm_dt_timer_init() function.

From: Ankit Agrawal
Date: Fri Jul 12 2024 - 06:44:27 EST


On Fri, Jul 12, 2024 at 11:51:50AM +0200, Konrad Dybcio wrote:
> On 12.07.2024 10:27 AM, Ankit Agrawal wrote:
> > Add the missing iounmap() when clock frequency fails to get read by the
> > of_property_read_u32() call, or if the call to msm_timer_init() fails.
> >
> > Signed-off-by: Ankit Agrawal <agrawal.ag.ankit@xxxxxxxxx>
> > ---
>
> For your future submissions: run:
>
> /scripts/checkpatch.pl -g $(git describe --abbrev=0)..
>
> to run some static checks, such as "title is rather long"

Sure, noted.

Thanks!
Ankit