On Tue, Jan 13, 2015 at 9:00 PM, Johan Hovold <[email protected]> wrote: > The gpio-chip device attributes were never destroyed when the device was > removed. > > Fix by using device_create_with_groups() to create the device attributes > of the chip class device. > > Note that this also fixes the attribute-creation race with userspace.
... and it also improves code readability. Reviewed-by: Alexandre Courbot <[email protected]> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

