Re: [PATCH] firewire: ohci: use from_work() macro to expand parent structure of work_struct

From: Takashi Sakamoto
Date: Mon Jun 09 2025 - 19:05:27 EST


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 <o-takashi@xxxxxxxxxxxxx>
> ---
> drivers/firewire/ohci.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)


Applied to for-next branch.


Regards

Takashi Sakamoto