]> 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)
commitc4cf6fd010f98abac05fe2fd6f74966c197ab465
treec20e712f41c6df6f44434c1ec5b2bce0e052309e
parent081ef54181a1ff0d2c7e189052277797ff8dd0dd
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