Skip to content

Commit

Permalink
ARM: ux500: Rename dbx500 cpufreq code to be more generic
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lee Jones committed Nov 27, 2012
1 parent d3fed7b commit e13316d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/arm/mach-ux500/cpu-db8500.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;

Expand Down

0 comments on commit e13316d

Please sign in to comment.