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

Andy Shevchenko andy.shevchenko at gmail.com
Sun Jun 9 12:09:00 EDT 2013


On Fri, Jun 7, 2013 at 5:16 AM, Wei Yongjun <weiyj.lk at gmail.com> wrote:
> From: Wei Yongjun <yongjun_wei at trendmicro.com.cn>
>
> 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



More information about the linux-pcmcia mailing list