|
@@ -44,10 +44,9 @@ struct hwspinlock_ops {
|
|
* @ops: platform-specific hwspinlock handlers
|
|
* @ops: platform-specific hwspinlock handlers
|
|
* @id: a global, unique, system-wide, index of the lock.
|
|
* @id: a global, unique, system-wide, index of the lock.
|
|
* @lock: initialized and used by hwspinlock core
|
|
* @lock: initialized and used by hwspinlock core
|
|
- * @owner: underlying implementation module, used to maintain module ref count
|
|
|
|
*
|
|
*
|
|
* Note: currently simplicity was opted for, but later we can squeeze some
|
|
* Note: currently simplicity was opted for, but later we can squeeze some
|
|
- * memory bytes by grouping the dev, ops and owner members in a single
|
|
|
|
|
|
+ * memory bytes by grouping dev, ops in a single
|
|
* per-platform struct, and have all hwspinlocks point at it.
|
|
* per-platform struct, and have all hwspinlocks point at it.
|
|
*/
|
|
*/
|
|
struct hwspinlock {
|
|
struct hwspinlock {
|
|
@@ -55,7 +54,6 @@ struct hwspinlock {
|
|
const struct hwspinlock_ops *ops;
|
|
const struct hwspinlock_ops *ops;
|
|
int id;
|
|
int id;
|
|
spinlock_t lock;
|
|
spinlock_t lock;
|
|
- struct module *owner;
|
|
|
|
};
|
|
};
|
|
|
|
|
|
#endif /* __HWSPINLOCK_HWSPINLOCK_H */
|
|
#endif /* __HWSPINLOCK_HWSPINLOCK_H */
|