eni: fix driver remove function and driver probe error path.
authorfrançois romieu <romieu@fr.zoreil.com>
Fri, 16 Mar 2012 01:52:04 +0000 (01:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Mar 2012 06:13:20 +0000 (23:13 -0700)
commit126a3fd251b244eabd9ab9dcb32b8b6f999c1b91
treedb496f9ba4536215e9be58745565a426c090aebb
parent4823cd388dd68015e254d1449bd63ffe47d83fa7
eni: fix driver remove function and driver probe error path.

- add eni_do_release() to balance eni_do_init
- turn the zeroes DMA area into a per device data

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/eni.c
drivers/atm/eni.h