]> 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>
Fri, 21 Sep 2012 01:01:57 +0000 (11:01 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 25 Sep 2012 08:46:31 +0000 (18:46 +1000)
commit4a6c1e82aba881d4495829fd93227131b3447231
tree8f17fb426d9cc7581888ad0c9577bf08aee4897f
parentb5751a1f9c9b5cf0b6e17eea5b08cd43eb5fe0e7
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