• James Morse's avatar
    firmware: arm_sdei: Fix DT platform device creation · acafce48
    James Morse authored
    It turns out the dt-probing part of this wasn't tested properly after it
    was merged. commit 3aa0582f ("of: platform: populate /firmware/ node
    from of_platform_default_populate_init()") changed the core-code to
    generate the platform devices, meaning the driver's attempt fails, and it
    bails out.
    
    Fix this by removing the manual platform-device creation for DT systems,
    core code has always done this for us.
    
    CC: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
    Signed-off-by: default avatarJames Morse <james.morse@arm.com>
    Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
    acafce48
arm_sdei.c 23.3 KB