commit | ea4c39beace859139bc184a1aebdccdc12c04a2e | [log] [tgz] |
---|---|---|
author | Alexander Shiyan <shc_work@mail.ru> | Wed Jul 31 14:56:31 2013 +0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jul 31 18:08:02 2013 -0700 |
tree | 26793ec052bafb4045e3a304c99f8ebdb72bb0ba | |
parent | 90efa75f7ab0be5677f0cca155dbf0b39eacdd03 [diff] |
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 <shc_work@mail.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>