]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/misc/lis3lv02d/lis3lv02d_spi.c: add DT matching table passthru code
authorDaniel Mack <zonque@gmail.com>
Thu, 13 Sep 2012 01:01:03 +0000 (11:01 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 20 Sep 2012 07:05:12 +0000 (17:05 +1000)
commit8808ccefd0573ddfdf612898dbe959f4f2feff15
tree2fa73ababa87bfc7d0cb61ca3fd5be0f841ec851
parentf2ab849a1b6431167ffb417260fd37a9f3eaa0c7
drivers/misc/lis3lv02d/lis3lv02d_spi.c: add DT matching table passthru code

If probed from a device tree, this driver now passes the node information
to the generic part, so the runtime information can be derived.

Successfully tested on a PXA3xx board.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Cc: Rob Herring <robherring2@gmail.com>
Cc: "AnilKumar, Chimata" <anilkumar@ti.com>
Reviewed-by: Éric Piel <eric.piel@tremplin-utc.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/misc/lis3lv02d/lis3lv02d_spi.c