]> git.baikalelectronics.ru Git - kernel.git/commit
cpuidle: mvebu: Fix the name of the states
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Wed, 18 Jun 2014 12:37:43 +0000 (14:37 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 18 Jun 2014 19:54:46 +0000 (21:54 +0200)
commit72182d734627040b063cf9164f98fb3fbc30197f
treec20e712f41c6df6f44434c1ec5b2bce0e052309e
parent29230ba12c9ebdc4bb6e22babcaec9dfa3d76ff4
cpuidle: mvebu: Fix the name of the states

The length name of the states 2 was too long to fit in the allocated
string (limited to 16 bytes). This lead to improper string displayed
through sysfs.

This patch shorten the name by removing the reference to Marvell and
to the CPU as both are implicit. For coherency the same change have
been done for the states 1.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpuidle/cpuidle-armada-370-xp.c