Re: [patch 5/5][RFC] Update e1000 driver to use devres.
On Thu, Aug 02, 2007 at 03:45:52PM -0700, Brandon Philips wrote: if ((err = pci_request_regions(pdev, e1000_driver_name))) - goto err_pci_reg; + goto err_dma; Why not just return? Ditto for all goto err_dma's. err = -EIO; - adapter-hw.hw_addr =
[patch 5/5][RFC] Update e1000 driver to use devres.
Conversion of e1000 probe() and remove() to devres. Signed-off-by: Brandon Philips [EMAIL PROTECTED] --- drivers/net/e1000/e1000.h |1 drivers/net/e1000/e1000_main.c | 79 - 2 files changed, 26 insertions(+), 54 deletions(-) Index: