[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250816140809.2121a864@jic23-huawei>
Date: Sat, 16 Aug 2025 14:08:09 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: 赵西超 <zhao.xichao@...o.com>
Cc: Andy Shevchenko <andy.shevchenko@...il.com>, "o.rempel@...gutronix.de"
<o.rempel@...gutronix.de>, "dlechner@...libre.com" <dlechner@...libre.com>,
"nuno.sa@...log.com" <nuno.sa@...log.com>, "andy@...nel.org"
<andy@...nel.org>, "linux-iio@...r.kernel.org" <linux-iio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] iio: adc: ti-tsc2046: use us_to_ktime() where
appropriate
On Wed, 13 Aug 2025 11:33:24 +0000
赵西超 <zhao.xichao@...o.com> wrote:
> 在 2025/8/13 18:34, Andy Shevchenko 写道:
>
> On Wed, Aug 13, 2025 at 9:56 AM Xichao Zhao <zhao.xichao@...o.com><mailto:zhao.xichao@...o.com> wrote:
>
>
>
> The scan_interval_us and time_per_scan_us are more suitable for
> using the us_to_ktime(). This can make the code more concise and
>
>
>
> This makes....
>
>
>
> enhance readability. Therefore, replace ns_to_ktime() with us_to_ktime().
>
>
>
> Perhaps Jonathan may tweak the commit message to be more English, but
> code wise I agree with you.
> Reviewed-by: Andy Shevchenko <andy@...nel.org><mailto:andy@...nel.org>
>
> --
> With Best Regards,
> Andy Shevchenko
>
>
> Okay, thank you!
>
> Best regards,
>
> Xichao Zhao
>
Tweaked description and applied. Thanks for a nice cleanup.
Jonathan
Powered by blists - more mailing lists