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> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| ks8695net.c | ||
| ks8695net.h | ||
| ks8842.c | ||
| ks8851.c | ||
| ks8851.h | ||
| ks8851_mll.c | ||
| ksz884x.c | ||
| Makefile | ||