]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Input: drop vb2_ops_wait_prepare/finish
authorHans Verkuil <hverkuil@xs4all.nl>
Tue, 28 Jan 2025 15:05:02 +0000 (16:05 +0100)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 4 Feb 2025 14:12:34 +0000 (06:12 -0800)
commitab4976976ee117ed53b752bac83453e6f64dad08
tree14ecc5c5c6646a060401a5b0530dd91aaa5ff177
parent08bd5b7c9a2401faabdaa1472d45c7de0755fd7e
Input: drop vb2_ops_wait_prepare/finish

Since commit 88785982a19d ("media: vb2: use lock if wait_prepare/finish
are NULL") it is no longer needed to set the wait_prepare/finish
vb2_ops callbacks as long as the lock field in vb2_queue is set.

Since the vb2_ops_wait_prepare/finish callbacks already rely on that field,
we can safely drop these callbacks.

This simplifies the code and this is a step towards the goal of deleting
these callbacks.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Link: https://lore.kernel.org/r/ec811552-6014-43d4-9fcc-2ac729a8b08e@xs4all.nl
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/rmi4/rmi_f54.c
drivers/input/touchscreen/atmel_mxt_ts.c
drivers/input/touchscreen/sur40.c