From: srinivas pandruvada <srinivas.pandruvada@intel.com>
To: linux-iio@vger.kernel.org
Cc: srinivas pandruvada <srinivas.pandruvada@intel.com>
Subject: [PATCH,] IIO: Add additional modifier names
Date: Thu, 31 May 2012 16:51:38 -0700 [thread overview]
Message-ID: <1338508298-21748-1-git-send-email-srinivas.pandruvada@intel.com> (raw)
Added additional modifier names in the list for the supported
types. Otherwise it substitutes (null) in the filename.
Signed-off-by: srinivas pandruvada <srinivas.pandruvada@intel.com>
---
drivers/staging/iio/industrialio-core.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/drivers/staging/iio/industrialio-core.c b/drivers/staging/iio/industrialio-core.c
index d303bfb..65d40ce 100644
--- a/drivers/staging/iio/industrialio-core.c
+++ b/drivers/staging/iio/industrialio-core.c
@@ -76,6 +76,14 @@ static const char * const iio_modifier_names[] = {
[IIO_MOD_Z] = "z",
[IIO_MOD_LIGHT_BOTH] = "both",
[IIO_MOD_LIGHT_IR] = "ir",
+ [IIO_MOD_X_AND_Y] = "xy",
+ [IIO_MOD_X_AND_Z] = "xz",
+ [IIO_MOD_Y_AND_Z] = "yz",
+ [IIO_MOD_X_AND_Y_AND_Z] = "xyz",
+ [IIO_MOD_X_OR_Y] = "x_y",
+ [IIO_MOD_X_OR_Z] = "x_z",
+ [IIO_MOD_Y_OR_Z] = "y_z",
+ [IIO_MOD_X_OR_Y_OR_Z] = "x_y_z",
};
/* relies on pairs of these shared then separate */
--
1.7.7.6
next reply other threads:[~2012-06-01 0:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-31 23:51 srinivas pandruvada [this message]
2012-06-06 9:17 ` [PATCH,] IIO: Add additional modifier names Jonathan Cameron
2012-06-06 15:04 ` Pandruvada, Srinivas
2012-06-06 15:35 ` Jonathan Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1338508298-21748-1-git-send-email-srinivas.pandruvada@intel.com \
--to=srinivas.pandruvada@intel.com \
--cc=linux-iio@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).