diff options
author | Haojian Zhuang <haojian.zhuang@linaro.org> | 2013-04-07 04:44:33 -0400 |
---|---|---|
committer | Haojian Zhuang <haojian.zhuang@linaro.org> | 2013-04-10 21:59:23 -0400 |
commit | 2cab0292285ce3180224c130d2fb1104aee44ff1 (patch) | |
tree | a3f8bea618053618e7e1461b743ac7cb6e444454 /drivers/clk/mmp/clk-mmp2.c | |
parent | 31880c37c11e28cb81c70757e38392b42e695dc6 (diff) |
ARM: pxa: remove cpu_is_xxx in gpio driver
Avoid to use cpu_is_xxx() in pxa gpio driver. Use platform_device_id
to identify the difference.
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/clk/mmp/clk-mmp2.c')
-rw-r--r-- | drivers/clk/mmp/clk-mmp2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/mmp/clk-mmp2.c b/drivers/clk/mmp/clk-mmp2.c index ade435820c7e..d1f1a19d4351 100644 --- a/drivers/clk/mmp/clk-mmp2.c +++ b/drivers/clk/mmp/clk-mmp2.c | |||
@@ -221,7 +221,7 @@ void __init mmp2_clk_init(void) | |||
221 | 221 | ||
222 | clk = mmp_clk_register_apbc("gpio", "vctcxo", | 222 | clk = mmp_clk_register_apbc("gpio", "vctcxo", |
223 | apbc_base + APBC_GPIO, 10, 0, &clk_lock); | 223 | apbc_base + APBC_GPIO, 10, 0, &clk_lock); |
224 | clk_register_clkdev(clk, NULL, "pxa-gpio"); | 224 | clk_register_clkdev(clk, NULL, "mmp2-gpio"); |
225 | 225 | ||
226 | clk = mmp_clk_register_apbc("kpc", "clk32", | 226 | clk = mmp_clk_register_apbc("kpc", "clk32", |
227 | apbc_base + APBC_KPC, 10, 0, &clk_lock); | 227 | apbc_base + APBC_KPC, 10, 0, &clk_lock); |