diff options
| author | H Hartley Sweeten <hartleys@visionengravers.com> | 2012-10-29 10:02:39 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-30 10:44:37 -0700 |
| commit | 09d93a189ef5f0b90ad8d7cf1d01bfe6cae711b6 (patch) | |
| tree | 2c8084572733bef8d68ac0acf083bac8439570e4 /scripts/checkstack.pl | |
| parent | b155c5fadb3119a17ce4c36326f1975ca9818fb0 (diff) | |
staging: comedi: rtd520: factor out the board reset
Factor the common code that does the low-level reset of the board
out of rtd_init_board() and rtc_detach().
Fix the if test in rtd_detach() before doing the reset, devpriv->lcfg
could be NULL at this point.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions
