firewire: core: use from_work() macro to expand parent structure of work_struct
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 8 Jun 2025 23:38:08 +0000 (08:38 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 8 Jun 2025 23:45:48 +0000 (08:45 +0900)
commitf657a680f84e29ed7c17edf3b14d637e0527270c
tree45bade8b37550ac61a9559000a2fe629fc00cc46
parent8ffef793bb6d62046472033d6fb1dfb435681a83
firewire: core: 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 core functionalities.

Link: https://lore.kernel.org/r/20250608233808.202355-3-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
drivers/firewire/core-card.c
drivers/firewire/core-cdev.c
drivers/firewire/core-device.c