Re: [PATCH v1] usb: typec: altmodes/displayport: add null pointer check for sysfs nodes

From: RD Babiera
Date: Mon Feb 26 2024 - 17:55:10 EST


Sorry for the delay,

On Tue, Jan 30, 2024 at 3:08 PM Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> Why not populate the sysfs nodes after the assigment happens? That's
> the normal way to do this, otherwise your change looks odd because:

That works a lot better. I must've psyched myself out of touching the
current probe sequence and ended up overcomplicating it, sorry about that.

Thanks for the guidance,
RD