From: Daniel Mack Date: Wed, 26 Sep 2012 20:58:16 +0000 (-0700) Subject: drivers/misc/lis3lv02d: add generic DT matching code X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~77^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbac1a8b89452f378a17cc2c673aca0e53af684d;p=pandora-kernel.git 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 Cc: Rob Herring Cc: "AnilKumar, Chimata" Reviewed-by: Éric Piel Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed