Re: [PATCH] USB Elan FTDI: check for driver registration status

Pete Zaitcev
2007-03-28T18:44:07Z

On Wed, 28 Mar 2007 20:00:32 +0400, Cyrill Gorcunov <gorcunov@gmail.com> wrote:

> result = usb_register(&ftdi_elan_driver);
> - if (result)
> + if (result) {
> + destroy_workqueue(status_queue);
> + destroy_workqueue(command_queue);
> + destroy_workqueue(respond_queue);
> printk(KERN_ERR "usb_register failed. Error number %d\n",
> result);

I would just change the printk from "couldn't create workqueue"
to something more neutral, but this is ok too. Let's just declare
it fixed and move on.

-- Pete