mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
![]() In error case in bridge_platform_create after calling
platform_device_add()/platform_device_add_data()/
platform_device_add_resources(), release the failed
'pdev' or it will be leak, call platform_device_put()
to fix this problem.
Besides, 'pdev' is divided into 'pdev_wd' and 'pdev_bd',
use platform_device_unregister() to release sgi_w1
resources when xtalk-bridge registration fails.
Fixes:
|
||
---|---|---|
.. | ||
ip30-common.h | ||
ip30-console.c | ||
ip30-irq.c | ||
ip30-power.c | ||
ip30-setup.c | ||
ip30-smp.c | ||
ip30-timer.c | ||
ip30-xtalk.c | ||
Makefile | ||
Platform |