/** Called when driver is loaded, e.g. program startup. */
int (*init) (struct sr_context *sr_ctx);
/** Called before driver is unloaded.
- * Driver must free all resouces held by it. */
+ * Driver must free all resources held by it. */
int (*cleanup) (void);
/** Scan for devices. Driver should do all initialisation required.
* Can be called several times, e.g. with different port options.
* 0 = normal (measurement shown)
* 1 = blank (nothing shown)
* 2 = lines ("----")
- * 3 = ouside limits ("OL")
+ * 3 = outside limits ("OL")
* 7 = pass ("PASS")
* 8 = fail ("FAIL")
* 9 = open ("OPEn")