• Federico Vaga's avatar
    Revert "kernel: fix memory leakage" · 40e31179
    Federico Vaga authored
    This reverts commit 0598de40.
    
    This was not a memory leakage because the fmc-bus release that
    pointer for us. Is it good?
    
    We allocate and it is someone else us free, it lacks of simmetry.
    Probably the register function should be called devm_ like all
    the others in the kernel who relase for your the memory. In this
    way it is clear the behaviour.
    40e31179
spec-fmc.c 15.1 KB