summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/serial-sccnxp.h
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2013-07-31 14:56:31 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-01 05:08:02 +0400
commitea4c39beace859139bc184a1aebdccdc12c04a2e (patch)
tree26793ec052bafb4045e3a304c99f8ebdb72bb0ba /include/linux/platform_data/serial-sccnxp.h
parent90efa75f7ab0be5677f0cca155dbf0b39eacdd03 (diff)
downloadlinux-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