sh: allow registering clocks without name
authorMagnus Damm <damm@opensource.se>
Mon, 10 May 2010 14:01:34 +0000 (14:01 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 11 May 2010 02:48:43 +0000 (11:48 +0900)
commitd97432f1014c73bbace9eb1e67742c1bcab0c3cd
tree99383d7d9ccfa38367238c75b131ea9468a17a68
parentfd30401b07fdcf21e4be87fd276d1b2c84d712a3
sh: allow registering clocks without name

Modify the SuperH clock code to support struct clk
with NULL as name. Such clocks will not be hooked
up to debugfs.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/clock.c