diff options
author | 2013-07-31 14:56:31 +0400 | |
---|---|---|
committer | 2013-07-31 18:08:02 -0700 | |
commit | ea4c39beace859139bc184a1aebdccdc12c04a2e (patch) | |
tree | 26793ec052bafb4045e3a304c99f8ebdb72bb0ba /include/linux/platform_data/serial-sccnxp.h | |
parent | serial: sccnxp: Using CLK API for getting UART clock (diff) | |
download | linux-rng-ea4c39beace859139bc184a1aebdccdc12c04a2e.tar.xz linux-rng-ea4c39beace859139bc184a1aebdccdc12c04a2e.zip |
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