serial: 8250_exar: Adjust IOT2000 matching
authorSu Bao Cheng <baocheng.su@siemens.com>
Thu, 18 Apr 2019 09:15:04 +0000 (11:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Apr 2019 09:37:41 +0000 (11:37 +0200)
commit3e51ceea1006186a73367a78bb5cab76cf39d1bd
tree62fcd3ecdfae30f78a328cf44b943847ae017078
parent4cdd17ba1dff20ffc99fdbd2e6f0201fc7fe67df
serial: 8250_exar: Adjust IOT2000 matching

Since there are more IOT2040 variants with identical hardware but
different asset tags, the asset tag matching should be adjusted to
support them.

As only the IOT2040 variants have the Exar chip on board, matching on
their board name is enough. In the future there will be no other devices
with the "SIMATIC IOT2000" DMI board name but different hardware.

Signed-off-by: Su Bao Cheng <baocheng.su@siemens.com>
Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_exar.c