diff options
author | Paul Walmsley <paul@pwsan.com> | 2013-01-26 08:48:53 +0100 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2013-01-26 08:48:53 +0100 |
commit | c1d1cd597fc77af3086470f8627d77f52f7f8b6c (patch) | |
tree | f27c44213bf5185a967b349c80919f9372569aef /arch/arm/mach-omap2/mcbsp.c | |
parent | Linux 3.8-rc5 (diff) | |
download | linux-c1d1cd597fc77af3086470f8627d77f52f7f8b6c.tar.xz linux-c1d1cd597fc77af3086470f8627d77f52f7f8b6c.zip |
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/mcbsp.c')
-rw-r--r-- | arch/arm/mach-omap2/mcbsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/mcbsp.c b/arch/arm/mach-omap2/mcbsp.c index df49f2a49461..453580410ae0 100644 --- a/arch/arm/mach-omap2/mcbsp.c +++ b/arch/arm/mach-omap2/mcbsp.c @@ -101,7 +101,7 @@ static int __init omap_init_mcbsp(struct omap_hwmod *oh, void *unused) count++; } pdev = omap_device_build_ss(name, id, oh_device, count, pdata, - sizeof(*pdata), NULL, 0, false); + sizeof(*pdata)); kfree(pdata); if (IS_ERR(pdev)) { pr_err("%s: Can't build omap_device for %s:%s.\n", __func__, |