linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/5] hwmon: lis3 patches
@ 2011-03-15 16:02 Ilkka Koskinen
  2011-03-15 16:02 ` [RFC PATCH 2/5] hwmon: lis3: Change naming to consistent Ilkka Koskinen
       [not found] ` <1300204965-7209-1-git-send-email-ilkka.koskinen-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
  0 siblings, 2 replies; 7+ messages in thread
From: Ilkka Koskinen @ 2011-03-15 16:02 UTC (permalink / raw)
  To: khali-PUYAD+kWke1g9hUCZPvPmw,
	guenter.roeck-IzeFyvvaP7pWk0Htik3J/w,
	eric.piel-VkQ1JFuSMpfAbQlEx87xDw,
	samu.p.onkalo-xNZwKgViW5gAvxtiuMwx3w
  Cc: lm-sensors-GZX6beZjE8VD60Wz+7aTrA,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA

The first patch fixes a bug in lis3 i2c driver when probe() fails.

The rest of the patches converts statically allocated lis3 device
to dynamically allocated one, which enables support for
multiple lis3 devices on board. In addition, this patch set makes
it possible to load both i2c and spi drivers so that they don't
disturb each other. hp_accel is hacked to work and, thus, doesn't
support multiple devices.

I have tested the i2c based driver on target device, but haven't
the other two. 

The patches apply on top of hwmon-staging branch in 
git://localhost/pub/scm/linux/kernel/git/groeck/staging.git


Ilkka Koskinen (5):
  hwmon: lis3: Free regulators if probe() fails.
  hwmon: lis3: Change naming to consistent
  hwmon: lis3: Change exported function to use given device
  hwmon: lis3: Remove the referencies to the global variable in core
    driver
  hwmon: lis3: Register hwif and remove references to global variable

 drivers/hwmon/hp_accel.c      |   52 ++++---
 drivers/hwmon/lis3lv02d.c     |  392 +++++++++++++++++++++++------------------
 drivers/hwmon/lis3lv02d.h     |   11 +-
 drivers/hwmon/lis3lv02d_i2c.c |   67 ++++---
 drivers/hwmon/lis3lv02d_spi.c |   35 +++--
 5 files changed, 319 insertions(+), 238 deletions(-)

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

end of thread, other threads:[~2011-03-15 16:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-15 16:02 [RFC PATCH 0/5] hwmon: lis3 patches Ilkka Koskinen
2011-03-15 16:02 ` [RFC PATCH 2/5] hwmon: lis3: Change naming to consistent Ilkka Koskinen
     [not found] ` <1300204965-7209-1-git-send-email-ilkka.koskinen-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
2011-03-15 16:02   ` [RFC PATCH 1/5] hwmon: lis3: Free regulators if probe() fails Ilkka Koskinen
2011-03-15 16:02   ` [RFC PATCH 3/5] hwmon: lis3: Change exported function to use given device Ilkka Koskinen
2011-03-15 16:02   ` [RFC PATCH 4/5] hwmon: lis3: Remove the referencies to the global variable in core driver Ilkka Koskinen
2011-03-15 16:02   ` [RFC PATCH 5/5] hwmon: lis3: Register hwif and remove references to global variable Ilkka Koskinen
2011-03-15 16:16   ` [RFC PATCH 0/5] hwmon: lis3 patches Jean Delvare

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