ARM: omap2: use clkdev_create()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 2 Mar 2015 15:37:21 +0000 (15:37 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 6 May 2015 10:58:58 +0000 (11:58 +0100)
Rather than open coding the clkdev allocation, initialisation and
addition, use the clkdev_create() helper.

Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c