diff options
author | Peter Meerwald <pmeerw@pmeerw.net> | 2012-08-26 13:43:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-09-03 20:26:43 +0100 |
commit | 99698b45670a37b5304d5c6a743c8e96baa9ed8f (patch) | |
tree | 9e558923bf48cc04367bac9f4eb11c015a398c7d /include/linux/iio/trigger.h | |
parent | d25b3808db3a03deb12ffc0660c757b4a619f262 (diff) | |
download | linux-stable-99698b45670a37b5304d5c6a743c8e96baa9ed8f.tar.gz linux-stable-99698b45670a37b5304d5c6a743c8e96baa9ed8f.tar.bz2 linux-stable-99698b45670a37b5304d5c6a743c8e96baa9ed8f.zip |
iio: whitespace cleanup and removal of semicolon after functions
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/iio/trigger.h')
-rw-r--r-- | include/linux/iio/trigger.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/iio/trigger.h b/include/linux/iio/trigger.h index f0af2673891d..20239da1d0f7 100644 --- a/include/linux/iio/trigger.h +++ b/include/linux/iio/trigger.h @@ -29,7 +29,7 @@ struct iio_subirq { * instances of a given device. **/ struct iio_trigger_ops { - struct module *owner; + struct module *owner; int (*set_trigger_state)(struct iio_trigger *trig, bool state); int (*try_reenable)(struct iio_trigger *trig); int (*validate_device)(struct iio_trigger *trig, @@ -76,19 +76,19 @@ struct iio_trigger { static inline struct iio_trigger *to_iio_trigger(struct device *d) { return container_of(d, struct iio_trigger, dev); -}; +} static inline void iio_trigger_put(struct iio_trigger *trig) { module_put(trig->ops->owner); put_device(&trig->dev); -}; +} static inline void iio_trigger_get(struct iio_trigger *trig) { get_device(&trig->dev); __module_get(trig->ops->owner); -}; +} /** * iio_trigger_register() - register a trigger with the IIO core |