summaryrefslogtreecommitdiffstats
path: root/crypto/cast6_generic.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2021-12-22 11:42:13 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-12-22 13:59:33 +0100
commit67e532a42cf4c6c214ed39e33e617bca29508f4e (patch)
treedf74967fab29bc13680e3be80a47680d3b125e41 /crypto/cast6_generic.c
parentvdpa/mlx5: Use auxiliary_device driver data helpers (diff)
downloadlinux-67e532a42cf4c6c214ed39e33e617bca29508f4e.tar.xz
linux-67e532a42cf4c6c214ed39e33e617bca29508f4e.zip
driver core: platform: document registration-failure requirement
Add an explicit comment to document that the reference initialised by platform_device_register() needs to be released by a call to platform_device_put() also when registration fails (cf. device_register()). Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://lore.kernel.org/r/20211222104213.5673-1-johan@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions