Re: [PATCH v1 2/3] i2c: i801: Use match_string() helper to simplify the code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 17, 2019 at 04:16:44PM +0200, Jean Delvare wrote:
> On Thu, 13 Jun 2019 19:45:28 +0300, Andy Shevchenko wrote:
> > match_string() returns the array index of a matching string.
> > Use it instead of the open-coded implementation.
> 
> Nice, I didn't know about this utility function.
> 
> Don't we need to include <linux/string.h> though? Or is it another
> undocumented exception?

Here it is a nice catch! I will update.

-- 
With Best Regards,
Andy Shevchenko





[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux