Re: [PATCH v5] media: pci: intel: ivsc: improve device reference counting in mei_ace driver

From: Markus Elfring

Date: Mon Sep 29 2025 - 04:21:15 EST



> properly balance the reference count. Additionally, the redundant

misplaced?


> put_device() in mei_ace_remove() is removed.

call?


See also:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.17-rc7#n94


Under which circumstances would you become interested to apply an attribute
like “__free(put_device)”?
https://elixir.bootlin.com/linux/v6.17-rc7/source/include/linux/device.h#L1180

Regards,
Markus