firewire: ohci: use from_work() macro to expand parent structure of work_struct
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 8 Jun 2025 23:38:07 +0000 (08:38 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 8 Jun 2025 23:45:20 +0000 (08:45 +0900)
commit8ffef793bb6d62046472033d6fb1dfb435681a83
tree5c80c0d0e87454da695407d25ef6279a026331b5
parent088eb0f161c58969bc7544e5d6c1451ed18d2ddb
firewire: ohci: use from_work() macro to expand parent structure of work_struct

A commit 60b2ebf48526 ("workqueue: Introduce from_work() helper for cleaner
callback declarations") introduces a new macro to retrieve a poiner for the
parent structure of the work item. It is convenient to reduce input text.

This commit uses the macro in PCI driver for 1394 OHCI.

Link: https://lore.kernel.org/r/20250608233808.202355-2-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
drivers/firewire/ohci.c