Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 267709
b: refs/heads/master
c: 82db424
h: refs/heads/master
i:
  267707: b2b5a08
v: v3
  • Loading branch information
Jonathan Cameron authored and Greg Kroah-Hartman committed Aug 24, 2011
1 parent 3ceac82 commit 3ba49ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 5f9c035cae18be30b70efc88c3c88b34283db62f
refs/heads/master: 82db4249a2bd8b19c734e1ec4db0d6a56849b9a0
4 changes: 2 additions & 2 deletions trunk/drivers/staging/iio/trigger.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,14 @@ static inline struct iio_trigger *to_iio_trigger(struct device *d)

static inline void iio_put_trigger(struct iio_trigger *trig)
{
put_device(&trig->dev);
module_put(trig->ops->owner);
put_device(&trig->dev);
};

static inline void iio_get_trigger(struct iio_trigger *trig)
{
__module_get(trig->ops->owner);
get_device(&trig->dev);
__module_get(trig->ops->owner);
};

/**
Expand Down

0 comments on commit 3ba49ba

Please sign in to comment.