Re: [PATCH v2 03/21] Staging: gdm724x: use match_string() helper

2018-05-31 Thread Yisheng Xie
Hi Greg, On 2018/5/31 19:44, Greg Kroah-Hartman wrote: > On Thu, May 31, 2018 at 07:11:08PM +0800, Yisheng Xie wrote: >> match_string() returns the index of an array for a matching string, >> which can be used instead of open coded variant. >> >> Cc: Greg Kroah-Hartman >> Cc: Quytelda Kahja >>

Re: [PATCH v2 03/21] Staging: gdm724x: use match_string() helper

2018-05-31 Thread Yisheng Xie
Hi Greg, On 2018/5/31 19:44, Greg Kroah-Hartman wrote: > On Thu, May 31, 2018 at 07:11:08PM +0800, Yisheng Xie wrote: >> match_string() returns the index of an array for a matching string, >> which can be used instead of open coded variant. >> >> Cc: Greg Kroah-Hartman >> Cc: Quytelda Kahja >>

Re: [PATCH v2 03/21] Staging: gdm724x: use match_string() helper

2018-05-31 Thread Greg Kroah-Hartman
On Thu, May 31, 2018 at 07:11:08PM +0800, Yisheng Xie wrote: > match_string() returns the index of an array for a matching string, > which can be used instead of open coded variant. > > Cc: Greg Kroah-Hartman > Cc: Quytelda Kahja > Cc: de...@driverdev.osuosl.org > Signed-off-by: Yisheng Xie >

Re: [PATCH v2 03/21] Staging: gdm724x: use match_string() helper

2018-05-31 Thread Greg Kroah-Hartman
On Thu, May 31, 2018 at 07:11:08PM +0800, Yisheng Xie wrote: > match_string() returns the index of an array for a matching string, > which can be used instead of open coded variant. > > Cc: Greg Kroah-Hartman > Cc: Quytelda Kahja > Cc: de...@driverdev.osuosl.org > Signed-off-by: Yisheng Xie >

[PATCH v2 03/21] Staging: gdm724x: use match_string() helper

2018-05-31 Thread Yisheng Xie
match_string() returns the index of an array for a matching string, which can be used instead of open coded variant. Cc: Greg Kroah-Hartman Cc: Quytelda Kahja Cc: de...@driverdev.osuosl.org Signed-off-by: Yisheng Xie --- v2: - const DRIVER_STRING instead - per Andy

[PATCH v2 03/21] Staging: gdm724x: use match_string() helper

2018-05-31 Thread Yisheng Xie
match_string() returns the index of an array for a matching string, which can be used instead of open coded variant. Cc: Greg Kroah-Hartman Cc: Quytelda Kahja Cc: de...@driverdev.osuosl.org Signed-off-by: Yisheng Xie --- v2: - const DRIVER_STRING instead - per Andy