This patch adds a call to put_device() when the device_register()
call has failed. This is required so that the last reference to the
device is given up.

Signed-off-by: Levente Kurusa <levex@linux.com>
afs: dir: remove unused label out_skip

The out_skip label is not used, so remove it.

Signed-off-by: Levente Kurusa <levex@linux.com>
tc: account for device_register() failure

This patch makes the TURBOchannel driver bail out if the call
to device_register() failed.

Signed-off-by: Levente Kurusa <levex@linux.com>