diff options
author | Tarun Kanti DebBarma <[email protected]> | 2012-04-20 18:09:20 +0530 |
---|---|---|
committer | Tony Lindgren <[email protected]> | 2012-07-05 02:15:55 -0700 |
commit | 74dd9ec627582bfd4477f01ceeaaa3f54e3748b8 (patch) | |
tree | dad19ae8fe028e4924dc14e63100dc42490abc11 /net/lapb/lapb_timer.c | |
parent | ac5b0ea3d00d231dd9cedd45636b29defc368a4c (diff) |
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 <[email protected]>
Cc: Paul Walmsley <[email protected]>
Cc: Kevin Hilman <[email protected]>
Cc: Rajendra Nayak <[email protected]>
Cc: Santosh Shilimkar <[email protected]>
Signed-off-by: Tarun Kanti DebBarma <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions