diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2013-07-31 14:56:31 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-01 05:08:02 +0400 |
commit | ea4c39beace859139bc184a1aebdccdc12c04a2e (patch) | |
tree | 26793ec052bafb4045e3a304c99f8ebdb72bb0ba /include/linux/platform_data/serial-sccnxp.h | |
parent | 90efa75f7ab0be5677f0cca155dbf0b39eacdd03 (diff) | |
download | linux-ea4c39beace859139bc184a1aebdccdc12c04a2e.tar.xz |
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>
Diffstat (limited to 'include/linux/platform_data/serial-sccnxp.h')
0 files changed, 0 insertions, 0 deletions