]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita54ca0e65412c1c84aa740f3b0cb220b6a6d7675
treef40c97ed5066f9ce4d8cee1c87f44e10e0d8effe
parent1a3412fab21259e53b397f9ae0c44041e8dce723
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