Commit 59cca865f21e9e7beab73fcf79ba4eb776a4c228
Committed by
Linus Torvalds
1 parent
d7c7ef908b
drivers/rtc/class.c: fix device_register() error handling
If device_register() fails then call put_device(). See comment to device_register. Signed-off-by: Vasiliy Kulikov <segooon@gmail.com> Cc: Alessandro Zummo <a.zummo@towertech.it> Cc: Wan ZongShun <mcuos.com@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 1 changed file with 3 additions and 1 deletions Side-by-side Diff
drivers/rtc/class.c
-
mentioned in commit 670666
-
mentioned in commit 670666
-
mentioned in commit 670666
-
mentioned in commit 670666
-
mentioned in commit 670666