[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.78 and 1.79

version 1.78, 2021/04/24 23:36:54 version 1.79, 2021/06/21 03:12:54
Line 452  iic_attach(device_t parent, device_t sel
Line 452  iic_attach(device_t parent, device_t sel
                 for (i = 0; i < count; i++) {                  for (i = 0; i < count; i++) {
                         dev = prop_array_get(child_devices, i);                          dev = prop_array_get(child_devices, i);
                         if (!dev) continue;                          if (!dev) continue;
                         if (!prop_dictionary_get_cstring_nocopy(                          if (!prop_dictionary_get_string(
                             dev, "name", &name)) {                              dev, "name", &name)) {
                                 /* "name" property is optional. */                                  /* "name" property is optional. */
                                 name = NULL;                                  name = NULL;

Legend:
Removed from v.1.78  
changed lines
  Added in v.1.79

CVSweb <webmaster@jp.NetBSD.org>