[PATCH 0/2] pda_power: USB notifier fixes
From: Mathias Krause
Date: Sun Mar 30 2014 - 09:34:51 EST
The notifier block can and should be initialized statically. Fixed in
patch 1.
While doing patch 1 I noticed, that the USB notifier that gets registered
in pda_power_probe() never gets unregistered. Fixed in patch 2.
Beware: The patches are compile tested only, as I have no such hardware!
Please apply!
Mathias Krause (2):
pda_power: Statically initialize notifier block
pda_power: Unregister USB notifier in pda_power_remove()
drivers/power/pda_power.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
--
1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/