mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC PATCHv2 0/5] lis3lv02d: Regulator fix & support for multiple devices
@ 2011-04-05 14:45 Ilkka Koskinen
  2011-04-05 14:45 ` [RFC PATCHv2 1/5] hwmon: lis3: Free regulators if probe() fails Ilkka Koskinen
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Ilkka Koskinen @ 2011-04-05 14:45 UTC (permalink / raw)
  To: eric.piel, mjg
  Cc: linux-kernel, platform-driver-x86, samu.p.onkalo, ilkka.koskinen

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.

Changes since v1:
The patches are rebased on top of 2.6.39-rc1 as requested. That is,
no code changes. Only the paths of the files were changed.

Cheers, Ilkka


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/misc/lis3lv02d/lis3lv02d.c     |  391 ++++++++++++++++++--------------
 drivers/misc/lis3lv02d/lis3lv02d.h     |   11 +-
 drivers/misc/lis3lv02d/lis3lv02d_i2c.c |   67 ++++---
 drivers/misc/lis3lv02d/lis3lv02d_spi.c |   35 ++-
 drivers/platform/x86/hp_accel.c        |   52 +++--
 5 files changed, 319 insertions(+), 237 deletions(-)


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

end of thread, other threads:[~2011-04-08 17:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-05 14:45 [RFC PATCHv2 0/5] lis3lv02d: Regulator fix & support for multiple devices Ilkka Koskinen
2011-04-05 14:45 ` [RFC PATCHv2 1/5] hwmon: lis3: Free regulators if probe() fails Ilkka Koskinen
2011-04-05 14:45 ` [RFC PATCHv2 2/5] hwmon: lis3: Change naming to consistent Ilkka Koskinen
2011-04-05 14:45 ` [RFC PATCHv2 3/5] hwmon: lis3: Change exported function to use given device Ilkka Koskinen
2011-04-05 14:45 ` [RFC PATCHv2 4/5] hwmon: lis3: Remove the referencies to the global variable in core driver Ilkka Koskinen
2011-04-05 15:50   ` Thadeu Lima de Souza Cascardo
2011-04-07 11:59     ` Ilkka Koskinen
2011-04-07 21:58       ` Thadeu Lima de Souza Cascardo
2011-04-08 17:51         ` Jonathan Cameron
2011-04-05 14:45 ` [RFC PATCHv2 5/5] hwmon: lis3: Register hwif and remove references to global variable Ilkka Koskinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®