johan.adolfsson at axis.com said: > Here it comes, not tested though... Beleive I took care of the cleanup > as well. What about the case where mtdram_init_device() is called from elsewhere? Perhaps we should register a cleanup function with as mtdram_init_device() and call _that_ in the later cleanup? -- dwmw2