]> git.baikalelectronics.ru Git - kernel.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)
commitce09483160bd838f90428724b8ce99fc3a9df327
tree424f0d8877895f1bdf5a11ec87daff7b6fbd903c
parent19042f6bb0735ee2f8685d6e721e726c5f4aba65
staging: iio: isl29028: use the runtime power management for system sleep

With the introduction of runtime power management in commit c087fd00746c
("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