Lines Matching refs:undo
244 int (*undo)(struct attribute_container *,
267 if (!undo)
270 /* Attempt to undo the work partially done. */
277 undo(cont, dev, &ic->classdev);
288 * @undo: A function to undo the work previously done in case of error
292 * undo the partial work that has been done, on previous classdev. It
301 int (*undo)(struct attribute_container *,
316 fn, undo);
323 if (ret && !WARN_ON(!undo)) {
333 undo, NULL);