Re: [PATCH] firewire: ohci: use from_work() macro to expand parent structure of work_struct
Takashi Sakamoto <[email protected]> Tue, 10 Jun 2025 08:04:59 +0900
| Newsgroups | gmane.linux.kernel.firewire.devel,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
On Mon, Jun 09, 2025 at 08:38:07AM +0900, Takashi Sakamoto wrote:
> 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.
>
> Signed-off-by: Takashi Sakamoto <[email protected]>
> ---
> drivers/firewire/ohci.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
Applied to for-next branch.
Regards
Takashi Sakamoto