commit | 7fd80eb0aa4183a2f950f5d34dfcc47812f83371 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Tue Mar 05 10:05:20 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Mar 11 10:03:33 2013 -0700 |
tree | b99534315848b8a83d80b1cff583bb81d09f4139 | |
parent | b4a69035fb7ed12f0e869d7c7e448d1bf0bccf4f [diff] |
staging: comedi: ni_65xx: remove board() helper function This local helper function is a duplicate of the comedi core privided comedi_board() helper. Use that function instead and use a local variable to hold the boardinfo pointer instead of calling the helper each time the boardinfo is accessed. 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>