lis3: better support for hp 6730x
authorPavel Herrmann <morpheus.ibis@gmail.com>
Mon, 26 Oct 2009 23:50:19 +0000 (16:50 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 29 Oct 2009 14:39:32 +0000 (07:39 -0700)
commita03018ff712e34dbebeae33c1b6b1306c2f9561b
treea259cc9552800acf101115329e9005a343e4ef62
parent246eb7f0ed1a8aeddec5313137767658f378949b
lis3: better support for hp 6730x

I have learned that the 6730b and 6730s have different accelerometer
orientation, and have modified the driver accordingly (diff attached),
while dropping the wild guess for AMD based 6735 having the same
orientation as Intel based 6730 (this is not true for any other related
series/family, thus is not probable for 673x).

Signed-off-by: Pavel Herrmann <morpheus.ibis@gmail.com>
Signed-off-by: Éric Piel <eric.piel@tremplin-utc.net>
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/hwmon/hp_accel.c