net: ena: use SHUTDOWN as reset reason when closing interface
authorSameeh Jubran <sameehj@amazon.com>
Sun, 3 May 2020 09:52:19 +0000 (09:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 May 2020 22:59:30 +0000 (15:59 -0700)
commitc1c0e40b367efc92ad05bb802180817534a32343
tree5d432d80da723f481ebb72ae15de2bf437c23aae
parentf5db045e76fa74bdc95f9736429a565260a5d890
net: ena: use SHUTDOWN as reset reason when closing interface

The 'ENA_REGS_RESET_SHUTDOWN' enum indicates a normal driver
shutdown / removal procedure.

Also, a comment is added to one of the reset reason assignments for
code clarity.

Signed-off-by: Shay Agroskin <shayagr@amazon.com>
Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com>
Signed-off-by: Sameeh Jubran <sameehj@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_netdev.c