TC: Handle device_register() errors.
authorLevente Kurusa <[email protected]>
Wed, 2 Apr 2014 10:00:37 +0000 (12:00 +0200)
committerRalf Baechle <[email protected]>
Thu, 26 Jun 2014 09:48:23 +0000 (10:48 +0100)
commit5bb7889f440532f3dbbffdb6b3b0881a805abbce
tree0695a215dff706cd59a829bff10296fa10876eeb
parentab6c15bc6620ebe220970cc040b29bcb2757f373
TC: Handle device_register() errors.

Make the TURBOchannel driver bail out if the call to device_register()
failed.

Signed-off-by: Levente Kurusa <[email protected]>
Acked-by: Maciej W. Rozycki <[email protected]>
Cc: LKML <[email protected]>
Cc: Linux MIPS <[email protected]>
Patchwork: https://patchwork.linux-mips.org/patch/6673/
Signed-off-by: Ralf Baechle <[email protected]>
drivers/tc/tc.c