From: Tobias Klauser Date: Wed, 9 Feb 2011 09:56:52 +0000 (+0100) Subject: tty: serial: altera_uart: Handle pdev->id == -1 in altera_uart_remove X-Git-Tag: v2.6.39-rc1~470^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e96fabd8791aad30a3c8a03919893ae3e2e3df25;p=pandora-kernel.git tty: serial: altera_uart: Handle pdev->id == -1 in altera_uart_remove Commit 6b5756f176568a710d008d3b478128fafb6707f0 introduced the possibility for pdev->id being -1 but the change was not done equally in altera_uart_remove. This patch fixes this. Acked-by: Anton Vorontsov Signed-off-by: Tobias Klauser Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed