SH: use clkdev_add_table()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 1 Mar 2015 14:43:17 +0000 (14:43 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 6 May 2015 10:58:58 +0000 (11:58 +0100)
commit8a7711fccce90b14bbab413c8534af883a506041
treee7ed4399b24259c1240d570e1ac94619cb6d79ad
parent2568999835d7797afce3dcc3a3f368051ffcaf1f
SH: use clkdev_add_table()

We have always had an efficient way of registering a table of clock
lookups - it's called clkdev_add_table().  However, some people seem
to really love writing inefficient and unnecessary code.

Convert SH to use the correct interface.

Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/sh/kernel/cpu/sh4a/clock-sh7734.c
arch/sh/kernel/cpu/sh4a/clock-sh7757.c
arch/sh/kernel/cpu/sh4a/clock-sh7785.c
arch/sh/kernel/cpu/sh4a/clock-sh7786.c
arch/sh/kernel/cpu/sh4a/clock-shx3.c