diff options
author | Himangi Saraogi <himangi774@gmail.com> | 2014-08-01 11:29:13 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-02 19:40:52 -0400 |
commit | 54789983d14c00c80933beb782205df2a6c59afc (patch) | |
tree | 740721faa0e425df49426b383d83d97cae249713 /virt/kvm/assigned-dev.c | |
parent | 6751edeb870034d95dc227716863c4e5572e35b6 (diff) |
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 'virt/kvm/assigned-dev.c')
0 files changed, 0 insertions, 0 deletions