diff options
author | Himangi Saraogi <himangi774@gmail.com> | 2014-08-01 17:29:13 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-03 01:40:52 +0200 |
commit | 54789983d14c00c80933beb782205df2a6c59afc (patch) | |
tree | 740721faa0e425df49426b383d83d97cae249713 /include | |
parent | cirrus: cs89x0: Use managed interfaces (diff) | |
download | linux-54789983d14c00c80933beb782205df2a6c59afc.tar.xz linux-54789983d14c00c80933beb782205df2a6c59afc.zip |
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 'include')
0 files changed, 0 insertions, 0 deletions