]> 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)
commitac71038c6ac0cfbbf5ce20ec37a21df1f52a4881
treeb00647e871f6bd67b4fdf0e48b8fd84dacc168b7
parentcdddc70611ace0a4d4f61ae4d17d8a2ed63f1088
net: ena: add missing unmap bars on device removal

This patch also change the mapping functions to devm_ functions

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