cpuidle: ladder governor - use macro instead of hardcoded value
authorMohammad Merajul Islam Molla <meraj.enigma@gmail.com>
Mon, 28 Jul 2014 03:58:50 +0000 (09:58 +0600)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 28 Jul 2014 23:31:13 +0000 (01:31 +0200)
commit1469244613dadeccc563982b3246500913e26d61
treef26744c8e59b1c663bab34e1a10ce8544f5e73f1
parent6ee7f5dd57fc2e0450d0a41ec1320c06425335e0
cpuidle: ladder governor - use macro instead of hardcoded value

use CPUIDLE_DRIVER_STATE_START, instead of hardcoded value 0. As,
CPUIDLE_DRIVER_STATE_START can be 1/0 based on
CONFIG_ARCH_HAS_CPU_RELAX is defined or not.

Signed-off-by: Mohammad Merajul Islam Molla <meraj.enigma@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpuidle/governors/ladder.c