cpuidle: add c2 lock/unlock API in common file

In old code base, cpuidle_c2_lock() and cpuidle_c2_unlock() are defined
only for pxa1936. This patch tries to relocate the API in more common
file, that is drivers/cpuidle/cpuidle.c

Change-Id: I62070a99a47cdf06ee163ed4bb8c796e70851d7d
Signed-off-by: Jane Li <jiel@marvell.com>
3 files changed