summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/blackfin-cpufreq.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2016-06-23 14:50:10 +0100
committerDavid S. Miller <davem@davemloft.net>2016-06-27 10:40:57 -0400
commit0629bf17eaab9330bef427bdf4a3985c2d8972af (patch)
tree014542deacd2013dd7322d803a4ea121b72a8de4 /drivers/cpufreq/blackfin-cpufreq.c
parent5ae68b0ce134f9cadae2668da82d5f9a77523314 (diff)
phy: convert swphy register generation to tabular form
Convert the swphy register generation to tabular form which allows us to eliminate multiple switch() statements. This results in a smaller object code size, more efficient, and easier to add support for faster speeds. Before: Idx Name Size VMA LMA File off Algn 0 .text 00000164 00000000 00000000 00000034 2**2 text data bss dec hex filename 388 0 0 388 184 swphy.o After: Idx Name Size VMA LMA File off Algn 0 .text 000000fc 00000000 00000000 00000034 2**2 5 .rodata 00000028 00000000 00000000 00000138 2**2 text data bss dec hex filename 324 0 0 324 144 swphy.o Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/cpufreq/blackfin-cpufreq.c')
0 files changed, 0 insertions, 0 deletions