]> git.baikalelectronics.ru Git - kernel.git/commit
net: ena: add missing unmap bars on device removal
authorNetanel Belgazal <netanel@amazon.com>
Sun, 11 Jun 2017 12:42:47 +0000 (15:42 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Jun 2017 20:36:46 +0000 (16:36 -0400)
commitffb8f75e3d30f52b80a630be207298734d99dff9
treeb00647e871f6bd67b4fdf0e48b8fd84dacc168b7
parent8dea0f8c01139d1adf8be761adec1c05d60a4ea2
net: ena: add missing unmap bars on device removal

This patch also change the mapping functions to devm_ functions

Fixes: 42904aea461f ("Add a driver for Amazon Elastic Network Adapters (ENA)")
Signed-off-by: Netanel Belgazal <netanel@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_netdev.c