]> git.karo-electronics.de Git - karo-tx-linux.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)
commit0857d92f71b6cb75281fde913554b2d5436c394b
treeb00647e871f6bd67b4fdf0e48b8fd84dacc168b7
parent661d2b0ccef6a63f48b61105cf7be17403d1db01
net: ena: add missing unmap bars on device removal

This patch also change the mapping functions to devm_ functions

Fixes: 1738cd3ed342 ("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