]> git.karo-electronics.de Git - linux-beck.git/commit
iio: hmc5843: Swap suspend and resume implementations
authorCristina Moraru <cristina.moraru09@gmail.com>
Sun, 7 Feb 2016 22:21:48 +0000 (00:21 +0200)
committerJonathan Cameron <jic23@kernel.org>
Tue, 9 Feb 2016 22:10:51 +0000 (22:10 +0000)
commitc099225f0a248c395509606932e3ca2cf6c65932
treee63b4eeb5fd93d9193b404de81c3149f1a6832e0
parentd69051b401d12c406831c18718ceb0cb73a45f3a
iio: hmc5843: Swap suspend and resume implementations

Swap implementations of hmc5843_common_suspend and
hmc5843_common_resume functions for they have been
inversed. Device should go on SLEEP mode on suspend
and on CONTINUOUS mode on resume.

Signed-off-by: Cristina Moraru <cristina.moraru09@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/magnetometer/hmc5843_core.c