[PATCHv4 3/7] hwspinlock/core: maintain a list of registered hwspinlock banks

2014-01-13 Thread Suman Anna
The hwspinlock_device structure is used for registering a bank of locks with the driver core. The structure already contains the necessary members to identify the bank of locks. The core does not maintain the hwspinlock_devices itself, but maintains only a radix tree for all the registered locks.

[PATCHv4 3/7] hwspinlock/core: maintain a list of registered hwspinlock banks

2014-01-13 Thread Suman Anna
The hwspinlock_device structure is used for registering a bank of locks with the driver core. The structure already contains the necessary members to identify the bank of locks. The core does not maintain the hwspinlock_devices itself, but maintains only a radix tree for all the registered locks.