On Sun, May 06, 2018 at 11:25:19AM +0200, Alexandre Ratchov wrote: > slot_new() is used to determine device parameters, which are used to > call dev_open(), so it must be called first. > > The only way to do this is to save the list of files and then open the > device, then parse file headers, then configure the device. This is > not trivial. >
Yeah, I noticed this as well when I tried to do the refactoring. Unfortunately, I've been a bit busy lately, but I might give this another try whenever I have the time. Regards, Jesper Wallin
