Thread (7 messages) 7 messages, 2 authors, 2016-12-21

RE: [PATCH 2/5] thermal: share get_ida()/release_ida() for other thermal ida users

From: Matthew Wilcox <hidden>
Date: 2016-12-21 22:25:21

From: Zhang Rui [mailto:rui.zhang@intel.com]
  * - thermal zone devices lifecycle: registration, unregistration,
  *				     binding, and unbinding.
  */
-static int get_ida(struct ida *ida, struct mutex *lock, int *id)
+int get_ida(struct ida *ida, struct mutex *lock, int *id)
I don't like making a function as generically named as "get_ida" non-static.  Unless it's part of the IDA code :-)  In any case, I don't think these drivers need their own mutexes, so I sent a replacement set of patches.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help