Johan Hovold 67e532a42c driver core: platform: document registration-failure requirement
Add an explicit comment to document that the reference initialised by
platform_device_register() needs to be released by a call to
platform_device_put() also when registration fails (cf.
device_register()).

Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20211222104213.5673-1-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-12-22 13:59:33 +01:00
..
2021-11-02 06:20:58 -07:00
2021-08-09 09:03:47 +02:00
2021-06-15 17:14:36 +02:00
2021-07-21 11:53:42 +02:00
2021-06-15 17:14:36 +02:00
2021-06-15 17:14:36 +02:00