> failure_cleanup: > - printk(KERN_ERR "Error: %d. Cleaning Up.\n", err); > + printk(KERN_ERR "%s: registering device failed (err=%d)\n", DRV_NAME, > err);
You can even drop that. driver core will report the errno if probe returns not with 0 or -ENODEV. -- Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions | http://www.pengutronix.de/ |
signature.asc
Description: Digital signature
_______________________________________________ Socketcan-core mailing list Socketcan-core@lists.berlios.de https://lists.berlios.de/mailman/listinfo/socketcan-core