[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4675r5rp-s218-8r10-q1q3-rosr80p36969@xreary.bet>
Date: Thu, 24 Apr 2025 12:20:30 +0200 (CEST)
From: Jiri Kosina <jikos@...nel.org>
To: Thorsten Blum <thorsten.blum@...ux.dev>
cc: Benjamin Tissoires <bentiss@...nel.org>, linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] HID: appletb-kbd: Use secs_to_jiffies() instead of
msecs_to_jiffies()
On Mon, 7 Apr 2025, Thorsten Blum wrote:
> Use secs_to_jiffies() instead of msecs_to_jiffies() and avoid scaling
> the module params 'appletb_tb_idle_timeout' and 'appletb_tb_dim_timeout'
> to milliseconds. secs_to_jiffies() expands to simpler code and reduces
> the size of 'hid-appletb-kbd.ko'.
>
> Reformat the code to silence multiple checkpatch warnings.
>
> No functional changes intended.
>
> Signed-off-by: Thorsten Blum <thorsten.blum@...ux.dev>
Applied, thanks.
--
Jiri Kosina
SUSE Labs
Powered by blists - more mailing lists