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

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


Hi,

On Mon, Jun 09, 2025 at 08:38:08AM +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 core functionalities.
>
> Signed-off-by: Takashi Sakamoto <o-takashi@xxxxxxxxxxxxx>
> ---
> drivers/firewire/core-card.c | 4 ++--
> drivers/firewire/core-cdev.c | 3 +--
> drivers/firewire/core-device.c | 15 +++++----------
> 3 files changed, 8 insertions(+), 14 deletions(-)

Applied to for-next branch.


Regards

Takashi Sakamoto