iio: st_sensors: make BDU optional
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 30 Apr 2015 13:15:48 +0000 (15:15 +0200)
committerJonathan Cameron <jic23@kernel.org>
Thu, 7 May 2015 09:42:33 +0000 (10:42 +0100)
commitbb60646c8befe218d0bd49e71e62252cd6408ae5
tree4d1902ce4ed58973318ee09b2384403b79b66700
parentd2bc431868a1c3172bb8fa3187a90fa806bba484
iio: st_sensors: make BDU optional

Not all sensors support BDU (block data update) and in fact a
bunch of the in-kernel sensor settings do not specify the
BDU address field. Make this optional.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/common/st_sensors/st_sensors_core.c