[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250912122349.2247-1-cp0613@linux.alibaba.com>
Date: Fri, 12 Sep 2025 20:23:49 +0800
From: cp0613@...ux.alibaba.com
To: rafael@...nel.org
Cc: cp0613@...ux.alibaba.com,
guoren@...nel.org,
jeeheng.sia@...rfivetech.com,
lenb@...nel.org,
linux-acpi@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ACPI: SPCR: Support Precise Baud Rate filed
On Fri, 12 Sep 2025 11:29:44 +0200, rafael@...nel.org wrote:
> > + if (table->precise_baudrate)
> > + baud_rate =3D table->precise_baudrate;
> > + else {>
> The outer braces here are redundant and if you combined the "else"
> above with the "switch ()" statement below in one line, the patch
> would be smaller.>
> > + switch (table->baud_rate) {
> > + case 0:
Thanks for your suggestion. I will modify it.
Powered by blists - more mailing lists