summaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-bridge.h
diff options
context:
space:
mode:
authorSuniel Mahesh <sunil.m@techveda.org>2017-08-03 07:35:57 +0300
committerMark Brown <broonie@kernel.org>2017-08-16 18:38:03 +0300
commit9b61e302210eba55768962f2f11e96bb508c2408 (patch)
tree486c4f171124859962b13ae4c90475de0af6530c /include/linux/fpga/fpga-bridge.h
parente0bcb680b152c96ee4b561abbeb18743cdcc5ae3 (diff)
downloadlinux-9b61e302210eba55768962f2f11e96bb508c2408.tar.xz
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 <sunil.m@techveda.org> Signed-off-by: Karthik Tummala <karthik@techveda.org> Tested-by: Karthik Tummala <karthik@techveda.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions