On 04/14/2014 11:49 AM, Greg Kroah-Hartman wrote:
> On Tue, Mar 25, 2014 at 04:38:14PM -0400, Mark Hounschell wrote:
>> The config file is currently read for each board found.
>> It only needs to be read one time. The buffer it is read
>> into can now be freed immediately after it is parsed
>> instead of at driver unload time.
>>
>> Signed-off-by: Mark Hounschell <ma...@compro.net>
>> ---
>>  drivers/staging/dgap/dgap.c | 18 +++++++++---------
>>  1 file changed, 9 insertions(+), 9 deletions(-)
> 
> Kernel drivers shouldn't be reading config files in the first place :)
> 
> But I'll take this for now, as it does fix the code up.
> 

Ya, I know. I'm just not sure how to work around that yet.

Thanks
Mark

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to