Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

char: xillybus: Use to_delayed_work()

Use to_delayed_work() instead of open-coding it.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Acked-by: Eli Billauer <eli.billauer@gmail.com>
Link: https://lore.kernel.org/r/20250414074559.3954142-1-nichen@iscas.ac.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Chen Ni and committed by
Greg Kroah-Hartman
577f88cf e17f487f

+1 -2
+1 -2
drivers/char/xillybus/xillybus_core.c
··· 1184 1184 1185 1185 static void xillybus_autoflush(struct work_struct *work) 1186 1186 { 1187 - struct delayed_work *workitem = container_of( 1188 - work, struct delayed_work, work); 1187 + struct delayed_work *workitem = to_delayed_work(work); 1189 1188 struct xilly_channel *channel = container_of( 1190 1189 workitem, struct xilly_channel, rd_workitem); 1191 1190 int rc;