]> asedeno.scripts.mit.edu Git - linux.git/commit
tty: st-asc: Update tty alias
authorPatrice Chotard <patrice.chotard@st.com>
Wed, 7 Mar 2018 17:35:32 +0000 (18:35 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Mar 2018 13:57:04 +0000 (14:57 +0100)
commitdfd9190ce8f4c96076849fe4d1ad7dbe3b92bb3d
treeb45cefd992d4d400a2d21d35934e32a2659cdd7c
parent1bcda09d291081a7732fcaa9d1745312404a4e36
tty: st-asc: Update tty alias

Since dtc v1.4.6-9-gaadd0b65c987, aliases property name
must include only lowercase and '-'.

After having updated all STi boards serial aliases from "ttyASN"
to "serialN", st-asc driver need to be updated accordingly as tty
aliases id is retrieved using of_alias_get_id().

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/st-asc.c