]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
lis3: solve dependency between core and ACPI
authorDaniel Mack <daniel@caiaq.de>
Tue, 31 Mar 2009 22:24:32 +0000 (15:24 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 Apr 2009 15:59:22 +0000 (08:59 -0700)
commita38da2ed74f628c1f3e907c772be21a66eccab9c
treee89697d25518dcca9861d6f65933fc3327cd5933
parentab337a632783c251a3c3852aec0ead8a0281cbdd
lis3: solve dependency between core and ACPI

This solves the dependency between lis3lv02d.[ch] and ACPI specific
methods.  It introduces a ->bus_priv pointer to the device struct which is
casted to 'struct acpi_device' in the ACIP layer.  Changed hp_accel.c
accordingly.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Acked-by: Pavel Machek <pavel@ucw.cz>
Acked-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/hp_accel.c
drivers/hwmon/lis3lv02d.c
drivers/hwmon/lis3lv02d.h