{"push_id":834312622,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"fff41eb460e1fb0d65ac2f413911ce6460ca8127","before":"ef10d126bf447af8ee650a6db8d6a7d343efbd21","commits":[{"sha":"5807c0b063023542925bc5d870e1227559e0db26","author":{"email":"9315c13a81ff4bf1f32bbd391f99cffe6167f0b0@FreeBSD.org","name":"dumbbell"},"message":"iicbus: Remove trailing whitespaces\n\nMFC after:\t1 week","distinct":true,"url":"https://api.github.com/repos/freebsd/freebsd/commits/5807c0b063023542925bc5d870e1227559e0db26"},{"sha":"fff41eb460e1fb0d65ac2f413911ce6460ca8127","author":{"email":"9315c13a81ff4bf1f32bbd391f99cffe6167f0b0@FreeBSD.org","name":"dumbbell"},"message":"iicbus: Use device_delete_children() instead of explicit child removal\n\nIf the bus is detached and deleted by a call to device_delete_child() or\ndevice_delete_children() on a device higher in the tree, I²C children\nwere already detached and deleted. So the device_t pointer stored in sc\npoints to freed memory: we must not try to delete it again.\n\nBy using device_delete_children(), we let subr_bus.c figure out if there\nare children to take care of.\n\nWhile here, make sure iicbus_detach() and iicoc_detach() call\ndevice_delete_children() too, to be safe.\n\nReviewed by:\tjhb, imp\nApproved by:\tjhb, imp\nMFC after:\t1 week\nDifferential Revision:\thttps://reviews.freebsd.org/D3926","distinct":true,"url":"https://api.github.com/repos/freebsd/freebsd/commits/fff41eb460e1fb0d65ac2f413911ce6460ca8127"}]}