• Christian Krafft's avatar
    [CELL] pmi: remove support for mutiple devices. · 813f9072
    Christian Krafft authored
    The pmi driver got simplified by removing support for multiple devices.
    As there is no more than one pmi device per maschine, there is no need to
    specify the device for listening and sending messages.
    
    This way the caller (cbe_cpufreq) doesn't need to scan the device tree.
    When registering the handler on a board without a pmi
    interface, pmi.c will just return -ENODEV.
    
    The patch that fixed the breakage of cell_defconfig has been
    broken out of the earlier version of this patch. So this is
    the version that applies cleanly on top of it.
    Signed-off-by: default avatarChristian Krafft <krafft@de.ibm.com>
    Signed-off-by: default avatarArnd Bergmann <arnd.bergmann@de.ibm.com>
    813f9072
pmi.c 6.52 KB