]> 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, 7 Sep 2012 00:24:26 +0000 (10:24 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 7 Sep 2012 05:36:25 +0000 (15:36 +1000)
commit30d3f83a975e6109f290524ff870dda32949adc5
tree1215e58bb472d1bb955756028199a1abd5d5595a
parent414e1f712f41a7530b9f0ff017fb03e3d4343aef
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