lkml.org 
[lkml]   [2024]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v1] usb: typec: altmodes/displayport: add null pointer check for sysfs nodes
Sorry for the delay,

On Tue, Jan 30, 2024 at 3:08 PM Greg KH <gregkh@linuxfoundation.org> 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

\
 
 \ /
  Last update: 2024-05-27 15:22    [W:0.079 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site