misc: enclosure: Fix doc for enclosure_find()
We should use put_device() to release the reference. Fixes: ee959b00 ("SCSI: convert struct class_device to struct device") Signed-off-by: Miaoqian Lin <linmq006@gmail.com> Link: https://lore.kernel.org/r/20221215090804.473022-1-linmq006@gmail.comSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
Please register or sign in to comment