diff options
author | Jonathan Cameron <jic23@cam.ac.uk> | 2010-07-11 16:39:08 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-22 11:38:27 -0700 |
commit | 3c9bbf58b2a7e9099343d36a2c0b206f8c2450df (patch) | |
tree | 19247eebf1b491a86d9c9d64cf123fd70b9dd356 /drivers/staging/iio/trigger.h | |
parent | cb46f472cbb08c44ae47a5bea80207c4e4407ee3 (diff) | |
download | op-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.h | 4 |
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 |