]> 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>
Fri, 21 Sep 2012 05:59:07 +0000 (15:59 +1000)
commit6b1f9fe6f0f262ac57e20b665cc86afa15e8ceb0
tree4d76cdb81abeee6e456111498b982633aa5ad396
parenta1c439381f42d46a86c49ef00e4b330016a77159
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