]> 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>
Thu, 6 Oct 2011 05:59:53 +0000 (16:59 +1100)
commit531a490033e7555eddc5c8415c415a6af8aaa7eb
tree9fabb4dbf7e5e33c57c19a47609e4b5dd6774a75
parente0c60803222e1e07b65d8d6a5dc4a5ad38bde8dc
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