commit | 7ffb0a85763957983c260f5f08c250d45d1d4449 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Mon Apr 08 14:29:47 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Apr 09 16:19:42 2013 -0700 |
tree | bbda24953e0294e2670602d7a1c611c8d72917fd | |
parent | 894ab190b9cfae1e040fd3d333528206eb0ea861 [diff] |
staging: comedi: acl7225b: 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_resource() 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>