Searched refs:pin_attr (Results 1 – 2 of 2) sorted by relevance
271 ptp->pin_attr = kcalloc(1 + n_pins, sizeof(*ptp->pin_attr), GFP_KERNEL); in ptp_populate_pin_groups()272 if (!ptp->pin_attr) in ptp_populate_pin_groups()282 ptp->pin_attr[i] = &da->attr; in ptp_populate_pin_groups()286 ptp->pin_attr_group.attrs = ptp->pin_attr; in ptp_populate_pin_groups()300 kfree(ptp->pin_attr); in ptp_cleanup_pin_groups()
43 struct attribute **pin_attr; member