diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2013-04-08 10:55:29 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-04-08 11:39:19 -0700 |
| commit | 34b68400ee3aabda0cd0c951fca3b8e6fd96c015 (patch) | |
| tree | 5da50b4f72ca695587f586f4f8716d3f3c5cec90 /tools | |
| parent | 6013a9a57bbe0fd147482297b04d3d848aa24b67 (diff) | |
staging: comedi: drivers: set dev->board_name before attaching
The comedi (*attach) and (*auto_attach) functions are used to attach
legacy and PnP type devices to the comedi subsystem. If we can set the
dev->board_name before doing the attach, the drivers will not have to
worry about doing it.
Drivers that do additional probing can still change the dev->board_name
if necessary.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
