PM / Sleep: Fix a mistake in a conditional in autosleep_store()

The condition check in autosleep_store() is incorrect and
prevents
/sys/power/autosleep from working as advertised.  Fix
that.

[rjw: Added the changelog.]

Change-Id:
I231cc24fc3f245003dcf5053ff6a71eb69ffa273
Signed-off-by: Arve Hjonnevag
<arve@android.com>
Signed-off-by: Rafael J. Wysocki
<rjw@sisk.pl>
Git-commit: 040e5bf
Git-repo:
git://codeaurora.org/kernel/msm.git
Signed-off-by: Anurag Singh
<anursing@codeaurora.org>

idea is taken here -
https://github.com/rmbq/android_kernel_htc_msm8960/commit/453bba0c6b2f36d0b5a51191b7c260633a5048e1