LIS3LV02D: separate the core from HP ACPI API
commitcfce41a6d643c001d416ead960caf04fae2d609a
authorEric Piel <eric.piel@tremplin-utc.net>
Sat, 10 Jan 2009 00:41:01 +0000 (9 16:41 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 10 Jan 2009 00:54:42 +0000 (9 16:54 -0800)
tree9a80d781c2387c2ad59e5d31ca1fdd7408d0ef89
parent8e961870bb9804110d5c8211d5d9d500451c4518
LIS3LV02D: separate the core from HP ACPI API

The sensor can be accessed via various buses.  In particular, SPI, I²C
and, on HP laptops, via a specific ACPI API (the only one currently
supported).  Separate this latest platform from the core of the sensor
driver to allow support for the other bus type.  The second, and more
direct goal is actually to be able to merge this part with the
hp-disk-leds driver, which has the same ACPI PNP number.

Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Eric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/hwmon/Makefile
drivers/hwmon/hp_accel.c [new file with mode: 0644]
drivers/hwmon/lis3lv02d.c
drivers/hwmon/lis3lv02d.h