HSI: hsi-char: fix driver for multiport scenarios
authorSebastian Reichel <sre@kernel.org>
Fri, 20 Sep 2013 20:42:22 +0000 (22:42 +0200)
committerSebastian Reichel <sre@kernel.org>
Sun, 4 May 2014 07:49:58 +0000 (09:49 +0200)
commit84d93b5e605324679cffb6d28c7339dd18165fd4
treef40c97ed5066f9ce4d8cee1c87f44e10e0d8effe
parent56459ea9aada1ba228cd0dd75accb56b95e07d73
HSI: hsi-char: fix driver for multiport scenarios

Fix return code check of alloc_chrdev_region, which
returns 0 on success.

Signed-off-by: Sebastian Reichel <sre@kernel.org>
Reviewed-by: Pavel Machek <pavel@ucw.cz>
drivers/hsi/clients/hsi_char.c