drivers/misc/lis3lv02d/lis3lv02d_spi.c: add DT matching table passthru code
authorDaniel Mack <zonque@gmail.com>
Wed, 26 Sep 2012 20:58:19 +0000 (13:58 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Sep 2012 21:17:42 +0000 (14:17 -0700)
commit4bcdea86f176e96d44531c1e54a1b5c92672424d
treeb76220793d3a66f2979e910612bcc8ab2de46452
parentcbac1a8b89452f378a17cc2c673aca0e53af684d
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.

[akpm@linux-foundation.org: fix lis302dl_spi_dt_ids unused warning when CONFIG_OF=n]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/lis3lv02d/lis3lv02d_spi.c