From: Linus Walleij Date: Mon, 7 Jul 2014 09:47:00 +0000 (+0100) Subject: iio: st_sensors: get platform data from device tree X-Git-Tag: omap-for-v3.17/fixes-against-rc2~166^2~779^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ce85cc4fbb71739f98806b9c9d63950a60cd8ae;p=pandora-kernel.git iio: st_sensors: get platform data from device tree Currently the STMicroelectronics sensors only support one single platform data item: configuration of the DRDY (data ready) pin for a particular design. Augment the core to prioritize and take this information from the device tree if the parent device has an assigned device node, else fall back to passed in platform data (usually the default data). Cc: Lee Jones Cc: Denis CIOCCA Signed-off-by: Linus Walleij Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed