diff options
author | Suniel Mahesh <[email protected]> | 2017-08-03 10:05:57 +0530 |
---|---|---|
committer | Mark Brown <[email protected]> | 2017-08-16 16:38:03 +0100 |
commit | 9b61e302210eba55768962f2f11e96bb508c2408 (patch) | |
tree | 486c4f171124859962b13ae4c90475de0af6530c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e0bcb680b152c96ee4b561abbeb18743cdcc5ae3 (diff) |
spi: Pick spi bus number from Linux idr or spi alias
Modify existing code, for automatically picking the spi bus number based
on Linux idr scheme as mentioned in FIXME.
This patch does the following:
(a) Remove the now unnecessary code which was allocating bus numbers using
ATOMIC_INIT and atomic_dec_return macros.
(b) If we have an alias, pick the bus number from alias ID
(c) Convert to linux idr interface
Signed-off-by: Suniel Mahesh <[email protected]>
Signed-off-by: Karthik Tummala <[email protected]>
Tested-by: Karthik Tummala <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions