summaryrefslogtreecommitdiffstats
path: root/fs/dcache.c
diff options
context:
space:
mode:
authorIan Abbott2013-04-04 15:58:47 +0200
committerGreg Kroah-Hartman2013-04-05 23:33:17 +0200
commit3346b798f202bf2f5b5272870ecdb75acec2e752 (patch)
tree62dc9510cdca136d526dd19d788a65e9d17edcf4 /fs/dcache.c
parentstaging: comedi: refactor comedi_free_board_minor() (diff)
downloadkernel-qcow2-linux-3346b798f202bf2f5b5272870ecdb75acec2e752.tar.gz
kernel-qcow2-linux-3346b798f202bf2f5b5272870ecdb75acec2e752.tar.xz
kernel-qcow2-linux-3346b798f202bf2f5b5272870ecdb75acec2e752.zip
staging: comedi: add comedi_release_hardware_device()
Add `comedi_release_hardware_device()` as a replacement for the call sequence `comedi_find_board_minor()`, `comedi_free_board_minor()`. This is slightly safer as we can make sure nothing funny happens to the found `comedi_file_info_table[]` entry in the middle of the sequence. Change `comedi_auto_unconfig()` to call the new function instead of the old sequence. Remove `comedi_find_board_minor()` as it has no other callers. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/dcache.c')
0 files changed, 0 insertions, 0 deletions