• Luis R. Rodriguez's avatar
    firmware: enable to split firmware_class into separate target files · ad4365f1
    Luis R. Rodriguez authored
    The firmware loader code has grown quite a bit over the years.
    The practice of stuffing everything we need into one file makes
    the code hard to follow.
    
    In order to split the firmware loader code into different components
    we must pick a module name and a first object target file. We must
    keep the firmware_class name to remain compatible with scripts which
    have been relying on the sysfs loader path for years, so the old module
    name stays. We can however rename the C file without affecting the
    module name.
    
    The firmware_class used to represent the idea that the code was a simple
    sysfs firmware loader, provided by the struct class firmware_class.
    The sysfs firmware loader used to be the default, today its only the
    fallback mechanism.
    
    This only renames the target code then to make emphasis of what the code
    does these days. With this change new features can also use a new object
    files.
    Signed-off-by: default avatarLuis R. Rodriguez <mcgrof@kernel.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    ad4365f1
firmware_loader.c 45.2 KB