diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2014-07-07 11:47:00 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-07-07 14:11:28 +0200 |
commit | 3ce85cc4fbb71739f98806b9c9d63950a60cd8ae (patch) | |
tree | 96e7c0234115285149f1976c79fa370e93c68eac /block/blk-mq.c | |
parent | iio: imu: adis16480 switch sampling frequency attr to core support (diff) | |
download | linux-3ce85cc4fbb71739f98806b9c9d63950a60cd8ae.tar.xz linux-3ce85cc4fbb71739f98806b9c9d63950a60cd8ae.zip |
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 <lee.jones@linaro.org>
Cc: Denis CIOCCA <denis.ciocca@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'block/blk-mq.c')
0 files changed, 0 insertions, 0 deletions