Re: [PATCH] pcmcia: pd6729: fix error return code in pd6729_pci_probe()

From: Andy Shevchenko
Date: Sun Jun 09 2013 - 12:09:08 EST


On Fri, Jun 7, 2013 at 5:16 AM, Wei Yongjun <weiyj.lk@xxxxxxxxx> wrote:
> From: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx>
>
> Fix to return a negative error code from the error handling
> case instead of 0, as done elsewhere in this function.

What about to move the driver to pcim_*/devm_* functions?

--
With Best Regards,
Andy Shevchenko
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/