From: Daniel Lezcano Date: Mon, 26 Mar 2012 12:51:27 +0000 (+0200) Subject: cpuidle: remove useless array definition in cpuidle_structure X-Git-Tag: v3.4-rc1~18^2~3^4~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db70b04407a63668e5fee773f76f90367492fd25;p=pandora-kernel.git cpuidle: remove useless array definition in cpuidle_structure All the modules name are ro-data, it is never copied to the array. eg. static struct cpuidle_driver intel_idle_driver = { .name = "intel_idle", .owner = THIS_MODULE, }; It safe to assign the pointer of this ro-data to a const char *. By this way we save 12 bytes. Signed-off-by: Daniel Lezcano Acked-by: Deepthi Dharwar Tested-by: Deepthi Dharwar Signed-off-by: Len Brown --- Reading git-diff-tree failed