On Mon, May 21, 2018 at 2:57 PM, Yisheng Xie wrote:
> match_string() returns the index of an array for a matching string,
> which can be used intead of open coded variant.
> + ret = match_string((const char **)DRIVER_STRING,
> + TTY_MAX_COUNT, tty->driver->driver_n
match_string() returns the index of an array for a matching string,
which can be used intead of open coded variant.
Cc: Greg Kroah-Hartman
Cc: Quytelda Kahja
Cc: de...@driverdev.osuosl.org
Signed-off-by: Yisheng Xie
---
drivers/staging/gdm724x/gdm_tty.c | 16
1 file changed, 4