aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorMatti Vaittinen <[email protected]>2021-03-23 15:56:17 +0200
committerGreg Kroah-Hartman <[email protected]>2021-03-23 15:22:39 +0100
commit0341ce5443949588e93581b49b934cdde2befbf8 (patch)
tree9c1a052145e3588d2315500b141f39b297403231 /lib/mpi/mpi-inline.h
parent53f95c55349e75b73f69ce36b0ae2a83b3f28fde (diff)
workqueue: Add resource managed version of delayed work init
A few drivers which need a delayed work-queue must cancel work at driver detach. Some of those implement remove() solely for this purpose. Help drivers to avoid unnecessary remove and error-branch implementation by adding managed verision of delayed work initialization. This will also help drivers to avoid mixing manual and devm based unwinding when other resources are handled by devm. Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Matti Vaittinen <[email protected]> Link: https://lore.kernel.org/r/51769ea4668198deb798fe47fcfb5f5288d61586.1616506559.git.matti.vaittinen@fi.rohmeurope.com Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions