linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Reyad Attiyat <reyad.attiyat@gmail.com>
To: linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org,
	jic23@kernel.org, srinivas.pandruvada@linux.intel.com
Cc: Reyad Attiyat <reyad.attiyat@gmail.com>
Subject: [PATCH v3 0/3] IIO: Add support for rotation from north usage attributes
Date: Mon, 16 Jun 2014 17:30:00 -0500	[thread overview]
Message-ID: <1402957803-5154-1-git-send-email-reyad.attiyat@gmail.com> (raw)

These patches add support for rotation from north HID usage attributes to
the magnetometer 3d driver.

Changes from v2:
	Use devm_kcalloc for all dynamic allocations
	Cleanup formatting of if statements
	Scan for the usage attributes present then dynamically allocate iio channel and value arrays
	Use proper return errors (-EINVAL) and (-ENOMEM)


Reyad Attiyat (3):
  iio: documentation: Added documentation for rotation from north usage
    attributes
  iio: types: Added support for rotation from north usage attributes
  iio: hid-sensor-magn-3d: Add support for rotation from north usage
    attributes

 Documentation/ABI/testing/sysfs-bus-iio       |  79 +++++-
 drivers/iio/industrialio-core.c               |   4 +
 drivers/iio/magnetometer/hid-sensor-magn-3d.c | 394 +++++++++++++++++---------
 include/linux/iio/types.h                     |   4 +
 4 files changed, 352 insertions(+), 129 deletions(-)

-- 
1.9.3


             reply	other threads:[~2014-06-16 22:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-16 22:30 Reyad Attiyat [this message]
2014-06-16 22:30 ` [PATCH v3 1/3] iio: documentation: Added documentation for rotation from north usage attributes Reyad Attiyat
2014-06-21 10:57   ` Jonathan Cameron
2014-06-16 22:30 ` [PATCH v3 2/3] iio: types: Added support " Reyad Attiyat
2014-06-16 22:30 ` [PATCH v3 3/3] iio: hid-sensor-magn-3d: Add " Reyad Attiyat
2014-06-21 11:19   ` 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=1402957803-5154-1-git-send-email-reyad.attiyat@gmail.com \
    --to=reyad.attiyat@gmail.com \
    --cc=jic23@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=srinivas.pandruvada@linux.intel.com \
    /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).