On Thu, Jan 14, 2016 at 12:35:37AM +0300, Dan Carpenter wrote: > I think you can remove the put_device() line. Agreed. of_phy_find_device() only does a get_device() when it finds a matching device. Andrew -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html