diff options
author | Greg KH <[email protected]> | 2019-05-08 12:40:42 +0200 |
---|---|---|
committer | Tony Luck <[email protected]> | 2019-06-20 11:44:36 -0700 |
commit | 7adc05d2dc3af95e4e1534841d58f736262142cd (patch) | |
tree | 9d4c047fda186cd7d7dcbc665243f3348c2c7212 /net/lapb/lapb_timer.c | |
parent | 585fb3d93d32dbe89e718b85009f9c322cc554cd (diff) |
EDAC/sysfs: Drop device references properly
Do put_device() if device_add() fails.
[ bp: do device_del() for the successfully created devices in
edac_create_csrow_objects(), on the unwind path. ]
Signed-off-by: Greg KH <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions