diff options
author | Emilio G. Cota <cota@braap.org> | 2013-02-13 13:47:54 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-14 09:24:14 -0800 |
commit | def1820d25fa93cf5fca10bf45f22cdb11be41f2 (patch) | |
tree | e4e6dcea68b002815b34a1c17b55df59937fd60f /drivers/w1 | |
parent | 40262275f0b1bd2f0cbf9453c89c8a16025932ef (diff) | |
download | op-kernel-dev-def1820d25fa93cf5fca10bf45f22cdb11be41f2.zip op-kernel-dev-def1820d25fa93cf5fca10bf45f22cdb11be41f2.tar.gz |
vme: add missing put_device() after device_register() fails
put_device() must be called after device_register() fails,
since device_register() always initializes the refcount
on the device structure.
Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/w1')
0 files changed, 0 insertions, 0 deletions