linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] iio - first play with regmap
@ 2011-09-05 16:33 Jonathan Cameron
  2011-09-05 16:33 ` [PATCH] staging:iio:accel:lis3l02dq use regmap Jonathan Cameron
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Cameron @ 2011-09-05 16:33 UTC (permalink / raw)
  To: linux-iio, broonie; +Cc: Jonathan Cameron

Hi All,

This is my first real play with regmap.  Tried it with the
lis3l02dq driver because it is somewhere in the middle complexity
wise with some awkward corners.

All comments welcome.  This needs my iio-blue tree
(temporarily hosted at)
 http://www-sigproc.eng.cam.ac.uk/~jic23/iio/.git master

and Mark Browns

regmap/for-next on git.kernel.org.

This device doesn't do bulk reads nicely so that discussion isn't
relevant.  We have introduced a few copies in the buffered path
but got cleaner code in exchange. Such is life.

Thanks,

Jonathan

Jonathan Cameron (1):
  staging:iio:accel:lis3l02dq use regmap.

 drivers/staging/iio/accel/Kconfig          |    1 +
 drivers/staging/iio/accel/lis3l02dq.h      |    9 +-
 drivers/staging/iio/accel/lis3l02dq_core.c |  221 ++++++++++++++++------------
 drivers/staging/iio/accel/lis3l02dq_ring.c |  115 ++++-----------
 4 files changed, 162 insertions(+), 184 deletions(-)

-- 
1.7.3.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-09-05 17:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-05 16:33 [PATCH] iio - first play with regmap Jonathan Cameron
2011-09-05 16:33 ` [PATCH] staging:iio:accel:lis3l02dq use regmap Jonathan Cameron
2011-09-05 17:57   ` Mark Brown

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).