ARM: ux500: Rename dbx500 cpufreq code to be more generic
authorLee Jones <lee.jones@linaro.org>
Thu, 22 Nov 2012 16:20:02 +0000 (16:20 +0000)
committerLee Jones <lee.jones@linaro.org>
Tue, 27 Nov 2012 10:58:57 +0000 (10:58 +0000)
The cpufreq driver doesn't only handle the db8500 anymore. There
are new variants which rely on it too, so we've renamed the
driver to be more generic.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
arch/arm/mach-ux500/cpu-db8500.c

index d2076ce..4c6ce01 100644 (file)
@@ -222,7 +222,7 @@ struct device * __init u8500_init_devices(struct ab8500_platform_data *ab8500)
        db8500_add_usb(parent, usb_db8500_rx_dma_cfg, usb_db8500_tx_dma_cfg);
 
        platform_device_register_data(parent,
-               "cpufreq-u8500", -1, NULL, 0);
+               "cpufreq-ux500", -1, NULL, 0);
 
        for (i = 0; i < ARRAY_SIZE(platform_devs); i++)
                platform_devs[i]->dev.parent = parent;
@@ -244,7 +244,7 @@ static struct device * __init u8500_of_init_devices(void)
        db8500_add_usb(parent, usb_db8500_rx_dma_cfg, usb_db8500_tx_dma_cfg);
 
        platform_device_register_data(parent,
-               "cpufreq-u8500", -1, NULL, 0);
+               "cpufreq-ux500", -1, NULL, 0);
 
        u8500_dma40_device.dev.parent = parent;