]> git.karo-electronics.de Git - karo-tx-linux.git/commit
lis3: change exported function to use passed parameter
authorÉric Piel <eric.piel@tremplin-utc.net>
Wed, 5 Oct 2011 00:43:22 +0000 (11:43 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 12 Oct 2011 06:32:17 +0000 (17:32 +1100)
commitad9ba53cb350e3f65f0158c91d359ddd9645f3ca
tree17f746c22c136adfcb0a9b074e0c662df7db6397
parentf0cb944c8350dfc2587e6e571de87775f1b6e2c9
lis3: change exported function to use passed parameter

Change exported functions to use the device given as parameter
instead of the global one.

Signed-off-by: Ilkka Koskinen <ilkka.koskinen@nokia.com>
Signed-off-by: Éric Piel <eric.piel@tremplin-utc.net>
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Witold Pilat <witold.pilat@gmail.com>
Cc: Lyall Pearce <lyall.pearce@hp.com>
Cc: Malte Starostik <m-starostik@versanet.de>
Cc: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Cc: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/misc/lis3lv02d/lis3lv02d.c
drivers/misc/lis3lv02d/lis3lv02d.h
drivers/misc/lis3lv02d/lis3lv02d_i2c.c
drivers/misc/lis3lv02d/lis3lv02d_spi.c
drivers/platform/x86/hp_accel.c