Merge remote-tracking branch 'common/android-4.4' into android-4.4.y
This commit is contained in:
commit
ec5cb2fe85
1 changed files with 2 additions and 0 deletions
|
@ -1737,7 +1737,9 @@ void unregister_gadget_item(struct config_item *item)
|
|||
{
|
||||
struct gadget_info *gi = to_gadget_info(item);
|
||||
|
||||
mutex_lock(&gi->lock);
|
||||
unregister_gadget(gi);
|
||||
mutex_unlock(&gi->lock);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(unregister_gadget_item);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue