Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 249192
b: refs/heads/master
c: 582e548
h: refs/heads/master
v: v3
  • Loading branch information
Jonathan Cameron authored and Greg Kroah-Hartman committed Apr 26, 2011
1 parent b38737b commit 00a58a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f6517f22d4f6336ce37dc6b72aae4704ff872ba3
refs/heads/master: 582e548908729dd2f3e183fda5a8b7c2e2ca0b0e
8 changes: 1 addition & 7 deletions trunk/drivers/staging/iio/industrialio-trigger.c
Original file line number Diff line number Diff line change
Expand Up @@ -134,14 +134,8 @@ EXPORT_SYMBOL(iio_trigger_register);

void iio_trigger_unregister(struct iio_trigger *trig_info)
{
struct iio_trigger *cursor;

mutex_lock(&iio_trigger_list_lock);
list_for_each_entry(cursor, &iio_trigger_list, list)
if (cursor == trig_info) {
list_del(&cursor->list);
break;
}
list_del(&trig_info->list);
mutex_unlock(&iio_trigger_list_lock);

iio_trigger_unregister_sysfs(trig_info);
Expand Down

0 comments on commit 00a58a7

Please sign in to comment.