diff options
author | 2012-04-20 18:09:20 +0530 | |
---|---|---|
committer | 2012-07-05 02:15:55 -0700 | |
commit | 74dd9ec627582bfd4477f01ceeaaa3f54e3748b8 (patch) | |
tree | dad19ae8fe028e4924dc14e63100dc42490abc11 /lib/mpi/mpiutil.c | |
parent | Merge tag 'omap-devel-f-for-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/pjw/omap-pending into cleanup-part2 (diff) | |
download | linux-dev-74dd9ec627582bfd4477f01ceeaaa3f54e3748b8.tar.xz linux-dev-74dd9ec627582bfd4477f01ceeaaa3f54e3748b8.zip |
ARM: OMAP: dmtimer: use devm_ API and do some cleanup in probe()
Replace the regular kzalloc and ioremap with the devm_ equivalent
to simplify error handling. We don't need kree() any more in
omap_dm_timer_remove().
Also added *dev* pointer to reference pdev->dev which makes the
usage shorter in code.
Cc: Cousson, Benoit <b-cousson@ti.com>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Kevin Hilman <khilman@ti.com>
Cc: Rajendra Nayak <rnayak@ti.com>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Tarun Kanti DebBarma <tarun.kanti@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions