diff options
author | Himangi Saraogi <himangi774@gmail.com> | 2014-08-01 19:29:13 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-03 03:40:52 +0400 |
commit | 54789983d14c00c80933beb782205df2a6c59afc (patch) | |
tree | 740721faa0e425df49426b383d83d97cae249713 /drivers/net/irda/w83977af_ir.c | |
parent | 6751edeb870034d95dc227716863c4e5572e35b6 (diff) | |
download | linux-54789983d14c00c80933beb782205df2a6c59afc.tar.xz |
net: ks8851-ml: Use devm_ioremap_resource
This patch introduces the use of devm_ioremap_resource, devm_kmalloc and
does away with the functions to free the allocated memory in the probe
and remove functions. Also, some labels are done away with. A bug is
fixed as two regions are allocated in the probe function, but only one
is freed in the remove function.
Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/irda/w83977af_ir.c')
0 files changed, 0 insertions, 0 deletions