diff options
author | Paul Walmsley <paul@pwsan.com> | 2013-01-26 02:48:53 -0500 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2013-01-26 02:48:53 -0500 |
commit | c1d1cd597fc77af3086470f8627d77f52f7f8b6c (patch) | |
tree | f27c44213bf5185a967b349c80919f9372569aef /arch/arm/mach-omap2/serial.c | |
parent | 949db153b6466c6f7cad5a427ecea94985927311 (diff) |
ARM: OMAP2+: omap_device: remove obsolete pm_lats and early_device code
Remove now-obsolete code from arch/arm/mach-omap2/omap_device.c. This
mostly consists of removing the first attempt at device PM latency
handling. This was never really used, has been replaced by the common
dev_pm_qos code, and needs to go away as part of the DT conversion.
Also, the early platform_device creation code has been removed, as it
appears to be unused.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-omap2/serial.c')
-rw-r--r-- | arch/arm/mach-omap2/serial.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c index 04fdbc4c499b..d01c373cbbef 100644 --- a/arch/arm/mach-omap2/serial.c +++ b/arch/arm/mach-omap2/serial.c | |||
@@ -316,8 +316,7 @@ void __init omap_serial_init_port(struct omap_board_data *bdata, | |||
316 | if (WARN_ON(!oh)) | 316 | if (WARN_ON(!oh)) |
317 | return; | 317 | return; |
318 | 318 | ||
319 | pdev = omap_device_build(name, uart->num, oh, pdata, pdata_size, | 319 | pdev = omap_device_build(name, uart->num, oh, pdata, pdata_size); |
320 | NULL, 0, false); | ||
321 | if (IS_ERR(pdev)) { | 320 | if (IS_ERR(pdev)) { |
322 | WARN(1, "Could not build omap_device for %s: %s.\n", name, | 321 | WARN(1, "Could not build omap_device for %s: %s.\n", name, |
323 | oh->name); | 322 | oh->name); |