diff options
author | Daniel Mack <zonque@gmail.com> | 2012-09-26 13:58:16 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-26 14:15:55 -0700 |
commit | cbac1a8b89452f378a17cc2c673aca0e53af684d (patch) | |
tree | c52184fb2ef4129bbf4ca8a8b9c280ee4e0fd8a7 /drivers/misc/lis3lv02d/lis3lv02d_spi.c | |
parent | e2b2ed8365e040b274dd23bdabd34ec3b0e43137 (diff) | |
download | linux-cbac1a8b89452f378a17cc2c673aca0e53af684d.tar.gz linux-cbac1a8b89452f378a17cc2c673aca0e53af684d.tar.bz2 linux-cbac1a8b89452f378a17cc2c673aca0e53af684d.zip |
drivers/misc/lis3lv02d: add generic DT matching code
Adds logic to parse lis3 properties from a device tree node and store them
in a freshly allocated lis3lv02d_platform_data.
Note that the actual match tables are left out here. This part should
happen in the drivers that bind to the individual busses (SPI/I2C/PCI).
Also adds some DT bindinds documentation.
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>
Diffstat (limited to 'drivers/misc/lis3lv02d/lis3lv02d_spi.c')
0 files changed, 0 insertions, 0 deletions