]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
uio_hv_generic: add missed sysfs_remove_bin_file
authorChuhong Yuan <hslester96@gmail.com>
Thu, 7 May 2020 15:13:43 +0000 (23:13 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 May 2020 14:13:19 +0000 (16:13 +0200)
commit7066c2f61ce49b131026fec68ed1c9b0d0d9a05a
tree7b513b2a5bfd5d1ee6d9810287e6536f139ac178
parentf877a18c08fa6674364e469f318a3069c68204d2
uio_hv_generic: add missed sysfs_remove_bin_file

This driver calls sysfs_create_bin_file() in probe, but forgets to
call sysfs_remove_bin_file() in remove.
Add the missed call to fix it.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Link: https://lore.kernel.org/r/20200507151343.792816-1-hslester96@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/uio/uio_hv_generic.c