summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/trigger.h
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@cam.ac.uk>2010-07-11 16:39:08 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-07-22 11:38:27 -0700
commit3c9bbf58b2a7e9099343d36a2c0b206f8c2450df (patch)
tree19247eebf1b491a86d9c9d64cf123fd70b9dd356 /drivers/staging/iio/trigger.h
parentcb46f472cbb08c44ae47a5bea80207c4e4407ee3 (diff)
downloadop-kernel-dev-3c9bbf58b2a7e9099343d36a2c0b206f8c2450df.zip
op-kernel-dev-3c9bbf58b2a7e9099343d36a2c0b206f8c2450df.tar.gz
staging: iio: Use kasprintf to allocate and fill trig->name
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/trigger.h')
-rw-r--r--drivers/staging/iio/trigger.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/iio/trigger.h b/drivers/staging/iio/trigger.h
index 784e7b6..89610b5 100644
--- a/drivers/staging/iio/trigger.h
+++ b/drivers/staging/iio/trigger.h
@@ -8,10 +8,6 @@
*/
#ifndef _IIO_TRIGGER_H_
#define _IIO_TRIGGER_H_
-#define IIO_TRIGGER_NAME_LENGTH 20
-#define IIO_TRIGGER_ID_PREFIX "iio:trigger"
-#define IIO_TRIGGER_ID_FORMAT IIO_TRIGGER_ID_PREFIX "%d"
-
/**
* struct iio_trigger - industrial I/O trigger device
OpenPOWER on IntegriCloud