Re: [PATCH v2] powerpc/83xx/mpc832x_rdb: call platform_device_put() in error case in of_fsl_spi_probe()

From
Michael Ellerman <hidden>
Date
2022-12-08 13:04:26
Reply to
Yang Yingliang, 2022-10-29
On Sat, 29 Oct 2022 19:16:26 +0800, Yang Yingliang wrote:
If platform_device_add() is not called or failed, it can not call
platform_device_del() to clean up memory, it should call
platform_device_put() in error case.
Applied to powerpc/next.

[1/1] powerpc/83xx/mpc832x_rdb: call platform_device_put() in error case in of_fsl_spi_probe()
      https://git.kernel.org/powerpc/c/4d0eea415216fe3791da2f65eb41399e70c7bedf

cheers
Thread (2 messages) 2 messages, 2 authors, last reply 2022-12-08
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help