commit | 7b2234df5e2ec3fbb206fc4442099faf5859a177 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Mon Apr 08 18:15:46 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Apr 09 16:29:03 2013 -0700 |
tree | db9d582cfc1a8d9f3c9e3629c7f14d2ccd8126fa | |
parent | 62d4d5613d8b4c35555ef338ac27c3df1e36e4b4 [diff] |
staging: comedi: rti800: cleanup dev->board_name usage The comedi core initializes the dev->board_name before calling the driver (*attach) function. There is not reason to reinitialize it in the driver. Use the dev->board_name when doing the request_{region,irq}() instead of the open-coded string. 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>