[BACK]Return to i2c.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / dev / i2c

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/dev/i2c/i2c.c between version 1.68 and 1.69

version 1.68, 2019/01/27 02:08:41 version 1.69, 2019/03/26 09:20:38
Line 719  iic_use_direct_match(const struct i2c_at
Line 719  iic_use_direct_match(const struct i2c_at
                      const struct device_compatible_entry *compats,                       const struct device_compatible_entry *compats,
                      int *match_resultp)                       int *match_resultp)
 {  {
           int res;
   
         KASSERT(match_resultp != NULL);          KASSERT(match_resultp != NULL);
   
Line 729  iic_use_direct_match(const struct i2c_at
Line 730  iic_use_direct_match(const struct i2c_at
         }          }
   
         if (ia->ia_ncompat > 0 && ia->ia_compat != NULL) {          if (ia->ia_ncompat > 0 && ia->ia_compat != NULL) {
                 *match_resultp = iic_compatible_match(ia, compats, NULL);                  res = iic_compatible_match(ia, compats, NULL);
                 return true;                  if (res) {
                           *match_resultp = res;
                           return true;
                   }
         }          }
   
         return false;          return false;

Legend:
Removed from v.1.68  
changed lines
  Added in v.1.69

CVSweb <webmaster@jp.NetBSD.org>