mirror of
https://github.com/ukui/kernel.git
synced 2026-03-09 10:07:04 -07:00
10b68799b3
If device_register() fails then call put_device(). See comment to device_register. Signed-off-by: Vasiliy Kulikov <segooon@gmail.com> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>