Re: [PATCH v4 4/5] wifi: brcmfmac: Add optional lpo clock enable support

From: Jacobe Zang
Date: Mon Jul 29 2024 - 03:17:22 EST


>> +     clk = devm_clk_get_optional_enabled(dev, "lpo");
>> +     if (IS_ERR(clk))
>> +     if (clk) {
>
> These two lines looks really confusing.  Shouldn't it be just a single
> "if (!IS_ERR(clk)) {" line instead?

Thanks for the correction... I forgot to organize this...

---
Best Regards
Jacobe