diff options
author | Peter Meerwald <pmeerw@pmeerw.net> | 2012-08-26 12:43:00 (GMT) |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-09-03 19:26:43 (GMT) |
commit | 99698b45670a37b5304d5c6a743c8e96baa9ed8f (patch) | |
tree | 9e558923bf48cc04367bac9f4eb11c015a398c7d /include/linux/iio/trigger.h | |
parent | d25b3808db3a03deb12ffc0660c757b4a619f262 (diff) | |
download | linux-fsl-qoriq-99698b45670a37b5304d5c6a743c8e96baa9ed8f.tar.xz |
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 f0af267..20239da 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 |