diff options
author | Sudip Mukherjee <[email protected]> | 2016-02-27 17:33:34 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2016-03-11 22:09:09 -0800 |
commit | b3ca2e08e7dbec872458742b5a7d3b2b15826649 (patch) | |
tree | efda3b21f80e60add8b7830c3370f64633c9242e /tools/perf/scripts/python/check-perf-trace.py | |
parent | e9961fc16f9f11979df616b749d36cf389082047 (diff) |
staging: dgnc: unregister pci driver
We may choose to load the module without the hardware present. That will
register the pci driver but since probe will not succeed so
dgnc_NumBoards will be 0. Now if we unload the module then the pci
driver stays registered as dgnc_NumBoards is 0. And if we try to load
the module again it fails with the error:
"Driver 'dgnc' is already registered."
Signed-off-by: Sudip Mukherjee <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions