diff options
| author | H Hartley Sweeten <[email protected]> | 2016-04-08 12:41:35 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-04-28 22:16:10 -0700 |
| commit | fa33428fe00743dd11965f6276a994f3088f551d (patch) | |
| tree | 179dfe9929c9a3837d31782ac52ef45bc0866227 /tools/perf/scripts/python/bin | |
| parent | 1e436ce3ffc26230f3e422eed8db557ba7471a07 (diff) | |
staging: comedi: das1800: tidy up das1800_probe()
Refactor das1800_probe() to return an errno instead of the boardinfo
pointer.
Add the board 'id' to the boardinfo to tidy up this function to clarify
the sanity check when the user provided a board name when trying to
attach to the driver.
Currently when this function probes for a boardinfo based on the board
id it returns the wrong boardinfo for the "st-da" and "hr-da" types.
This causes the analog input subdevice for those boards to not be
available. Fix the probe so that a proper boardinfo is used.
Signed-off-by: H Hartley Sweeten <[email protected]>
Reviewed-by: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions