diff options
author | Vasiliy Kulikov <segooon@gmail.com> | 2010-09-19 16:55:21 +0400 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2010-10-22 09:43:25 +0200 |
commit | 10b68799b32d60ff578742d0deebc98afff30dba (patch) | |
tree | eff8e48c1e3738077fe47cb5e8ac7c34867c30d9 /samples | |
parent | 0c37dd7c41b7391698bbe354b81fe9909c281984 (diff) | |
download | linux-stable-10b68799b32d60ff578742d0deebc98afff30dba.tar.gz linux-stable-10b68799b32d60ff578742d0deebc98afff30dba.tar.bz2 linux-stable-10b68799b32d60ff578742d0deebc98afff30dba.zip |
zorro: 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>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions