iio: pulsedlight-lidar-lite: add runtime PM
authorMatt Ranostay <mranostay@gmail.com>
Mon, 16 Nov 2015 01:20:05 +0000 (17:20 -0800)
committerJonathan Cameron <jic23@kernel.org>
Sun, 22 Nov 2015 12:18:47 +0000 (12:18 +0000)
commit4ac4e086fd8c59e6b69089e6f7605500b63a6d17
tree5dce2d42b3ebfdb1a759d6d97909382eacc909d0
parent3fba9b5ff837ed57a993e98245378c30911ab4ee
iio: pulsedlight-lidar-lite: add runtime PM

Add runtime PM support for the lidar-lite module to enable low power
mode when last device requested reading is over a second.

Signed-off-by: Matt Ranostay <mranostay@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/proximity/pulsedlight-lidar-lite-v2.c