]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: iio: isl29028: use the runtime power management for system sleep
authorBrian Masney <masneyb@onstation.org>
Thu, 9 Feb 2017 01:54:28 +0000 (20:54 -0500)
committerJonathan Cameron <jic23@kernel.org>
Sat, 11 Feb 2017 09:46:38 +0000 (09:46 +0000)
commit0b59c388f89caeba22e205f7c6c985f4958323e4
tree424f0d8877895f1bdf5a11ec87daff7b6fbd903c
parent45e2852b8b27b92fb0f1ad9c94a8edd65c5a61c8
staging: iio: isl29028: use the runtime power management for system sleep

With the introduction of runtime power management in commit 2db5054ac28d
("staging: iio: isl29028: add runtime power management support"), the
system could go to sleep and turn off the device without notifying the
runtime power management code. This patch changes the system suspend
and resume to go through the runtime power management.

Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/light/isl29028.c