From: Ian Abbott Date: Thu, 4 Apr 2013 13:58:47 +0000 (+0100) Subject: staging: comedi: add comedi_release_hardware_device() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~137^2~301 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3346b798f202bf2f5b5272870ecdb75acec2e752;p=pandora-kernel.git 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 Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed