drivers: atm: nicstar: Use the correct function to free some resources
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>
Sun, 17 Jul 2016 07:03:24 +0000 (09:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jul 2016 18:30:26 +0000 (11:30 -0700)
commiteab814661945656d35d4a0e5870e932cd7139977
treece123536138d57d9732e6741584f22124c0be9a6
parent731e6f007aa2d07fc1a420bffeb7c9e8226e89e6
drivers: atm: nicstar: Use the correct function to free some resources

In 'get_scq', 'dma_alloc_coherent' has been used to allocate some
resources, so we need to free them using 'dma_free_coherent' instead
of 'kfree'.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/nicstar.c