From: Alexander Shiyan Date: Wed, 31 Jul 2013 10:56:31 +0000 (+0400) Subject: serial: sccnxp: Using structure for each supported IC instead of switch in probe X-Git-Tag: v3.12-rc1~182^2~94 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea4c39beace859139bc184a1aebdccdc12c04a2e;p=pandora-kernel.git serial: sccnxp: Using structure for each supported IC instead of switch in probe This patch replaces switch in probe function to constant structure for each supported IC. This makes code a bit smaller and cleaner and helps adding DT support to the driver in the future. Signed-off-by: Alexander Shiyan Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed