iio: health: max30100: add config for LED current
authorMatt Ranostay <mranostay@gmail.com>
Wed, 30 Dec 2015 05:44:48 +0000 (21:44 -0800)
committerJonathan Cameron <jic23@kernel.org>
Sun, 3 Jan 2016 17:59:49 +0000 (17:59 +0000)
commitb11a34607ded9b3dfb1992da47ac94bdf5945d53
tree95cfcf34ff268480906abfa66dd002cd2edc2d3c
parent35f739679a18d7a9680960c9cfc472ef012682dd
iio: health: max30100: add config for LED current

Allow the current for both RED and IR LEDs to be set via an device tree
property setting.

This is an optional setting that is useful for applications that have a
known glass attenuation factor.

Signed-off-by: Matt Ranostay <mranostay@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/devicetree/bindings/iio/health/max30100.txt
drivers/iio/health/max30100.c