RE: [PATCH] [wip] ARM: imx: register "leds-gpio" device using newhelper function

From: H Hartley Sweeten
Date: Tue May 10 2011 - 19:02:28 EST


On Tuesday, May 10, 2011 1:51 AM, Uwe Kleine-KÃnig wrote:
>
> This converts eukrea_mbimx27-baseboard to the new helper function.
>
> bloat-o-meter reports for this change:
>
> add/remove: 1/1 grow/shrink: 0/1 up/down: 128/-220 (-92)
> function old new delta
> gpio_led_register_device - 128 +128
> platform_devices 28 24 -4
> leds_gpio 216 - -216
>
> Additionally gpio_led_info (12 bytes) and gpio_leds (32 Bytes) are
> initdata now as is gpio_led_register_device.

FWIW, similar results with ep93xx:

add/remove: 1/1 grow/shrink: 2/0 up/down: 137/-240 (-103)
function old new delta
gpio_led_register_device - 128 +128
kernel_config_data 10474 10479 +5
ep93xx_init_devices 116 120 +4
ep93xx_leds 240 - -240

Regards,
Hartley¢éì®&Þ~º&¶¬–+-±éÝ¥Šw®žË±Êâmébžìdz¹Þ)í…æèw*jg¬±¨¶‰šŽŠÝj/êäz¹ÞŠà2ŠÞ¨è­Ú&¢)ß«a¶Úþø®G«éh®æj:+v‰¨Šwè†Ù>Wš±êÞiÛaxPjØm¶Ÿÿà -»+ƒùdš_