mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 08:02:30 +00:00
71b77697af
It's not correct to call kfree(dev) when device_register(dev) has failed.
Fix this by calling put_device(dev) instead.
Fixes:
|
||
---|---|---|
.. | ||
clock_ops.c | ||
common.c | ||
domain.c | ||
domain_governor.c | ||
generic_ops.c | ||
main.c | ||
Makefile | ||
power.h | ||
qos.c | ||
runtime.c | ||
sysfs.c | ||
trace.c | ||
wakeirq.c | ||
wakeup.c |