提交 eaec40a3 编写于 作者: D David Kershner 提交者: Greg Kroah-Hartman

staging: unisys: include: Add comment next to mutex.

Checkpatch reports an error that no comment was next to the mutex lock.
Add an appropriate message for the lock.
Signed-off-by: NDavid Kershner <david.kershner@unisys.com>
Reviewed-by: NTim Sell <timothy.sell@unisys.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 68f4f766
...@@ -119,8 +119,8 @@ struct visor_driver { ...@@ -119,8 +119,8 @@ struct visor_driver {
* activity. * activity.
* @being_removed: Indicates that the device is being removed from * @being_removed: Indicates that the device is being removed from
* the bus. Private bus driver use only. * the bus. Private bus driver use only.
* @visordriver_callback_lock: Used by the bus driver to lock when handling * @visordriver_callback_lock: Used by the bus driver to lock when adding and
* channel events. * removing devices.
* @pausing: Indicates that a change towards a paused state. * @pausing: Indicates that a change towards a paused state.
* is in progress. Only modified by the bus driver. * is in progress. Only modified by the bus driver.
* @resuming: Indicates that a change towards a running state * @resuming: Indicates that a change towards a running state
...@@ -149,7 +149,7 @@ struct visor_device { ...@@ -149,7 +149,7 @@ struct visor_device {
struct timer_list timer; struct timer_list timer;
bool timer_active; bool timer_active;
bool being_removed; bool being_removed;
struct mutex visordriver_callback_lock; struct mutex visordriver_callback_lock; /* synchronize probe/remove */
bool pausing; bool pausing;
bool resuming; bool resuming;
u32 chipset_bus_no; u32 chipset_bus_no;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册