Skip to content

Commit

Permalink
staging:iio: Code cleanups
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Jonathan Cameron authored and Greg Kroah-Hartman committed Jul 8, 2010
1 parent 3d550fb commit 751a370
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions drivers/staging/iio/iio.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@
#include "chrdev.h"

/* IIO TODO LIST */
/* Static device specific elements (conversion factors etc)
* should be exported via sysfs
*
/*
* Provide means of adjusting timer accuracy.
* Currently assumes nano seconds.
*/
Expand Down Expand Up @@ -385,7 +383,9 @@ void iio_put(void);
**/
void iio_get(void);

/* Ring buffer related */
/**
* iio_device_get_chrdev_minor() - get an unused minor number
**/
int iio_device_get_chrdev_minor(void);
void iio_device_free_chrdev_minor(int val);

Expand Down
3 changes: 1 addition & 2 deletions drivers/staging/iio/industrialio-trigger.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
* Any other suggestions?
*/


static DEFINE_IDR(iio_trigger_idr);
static DEFINE_SPINLOCK(iio_trigger_idr_lock);

Expand Down Expand Up @@ -284,7 +283,7 @@ int iio_trigger_dettach_poll_func(struct iio_trigger *trig,
EXPORT_SYMBOL(iio_trigger_dettach_poll_func);

/**
* iio_trigger_read_currrent() trigger consumer sysfs query which trigger
* iio_trigger_read_currrent() - trigger consumer sysfs query which trigger
*
* For trigger consumers the current_trigger interface allows the trigger
* used by the device to be queried.
Expand Down

0 comments on commit 751a370

Please sign in to comment.