usb: usb251xb: Use of_property_read_u16()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 4 Jun 2023 11:11:18 +0000 (13:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Jun 2023 09:55:18 +0000 (11:55 +0200)
commitf817f271dad345833929a6180a3a637f9bcc1a76
treeefe770d630163ee6497e8a92595e9c7480a0a2ff
parentffd603f214237e250271162a5b325c6199a65382
usb: usb251xb: Use of_property_read_u16()

Use of_property_read_u16() instead of of_property_read_u16_array() when
only 1 element is read.
This slightly simplifies the code.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Message-ID: <97478908a814d4fa694e0ca44212c3776cf3e6e9.1685877052.git.christophe.jaillet@wanadoo.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/usb251xb.c