Re: [PATCH] iio: adc: ti-tsc2046: use us_to_ktime() where appropriate

From: Jonathan Cameron
Date: Sat Aug 16 2025 - 09:08:30 EST


On Wed, 13 Aug 2025 11:33:24 +0000
赵西超 <zhao.xichao@xxxxxxxx> wrote:

> 在 2025/8/13 18:34, Andy Shevchenko 写道:
>
> On Wed, Aug 13, 2025 at 9:56 AM Xichao Zhao <zhao.xichao@xxxxxxxx><mailto:zhao.xichao@xxxxxxxx> 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@xxxxxxxxxx><mailto:andy@xxxxxxxxxx>
>
> --
> With Best Regards,
> Andy Shevchenko
>
>
> Okay, thank you!
>
> Best regards,
>
> Xichao Zhao
>

Tweaked description and applied. Thanks for a nice cleanup.

Jonathan