diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2016-12-22 11:14:06 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-12-25 10:47:40 +0100 |
commit | 26242b330093fd14c2e94fb6cbdf0f482ab26576 (patch) | |
tree | f21e73b34c9f07a1b078eb6c55f27f1f2630fde9 /drivers/ata/libahci_platform.c | |
parent | 834fcd298003c10ce450e66960c78893cb1cc4b5 (diff) |
bus: arm-ccn: Prevent hotplug callback leak
In case the driver registration fails, the hotplug callback is leaked.
Not fatal, because it's never invoked as there are no instances registered,
but wrong nevertheless.
Fixes: fdc15a36d84e ("bus/arm-ccn: Convert to hotplug statemachine")
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'drivers/ata/libahci_platform.c')
0 files changed, 0 insertions, 0 deletions