lkml.org 
[lkml]   [2021]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [resend/standalone PATCH v4] Add auxiliary bus support
    On Mon, Jan 04, 2021 at 07:12:47PM -0800, Dan Williams wrote:

    > I get that, but I'm fearing a gigantic bus_ops structure that has
    > narrow helpers like ->gpio_count() that mean nothing to the many other
    > clients of the bus. Maybe I'm overestimating the pressure there will
    > be to widen the ops structure at the bus level.

    If we want a 'universal device' then that stuff must live
    someplace.. Open coding the dispatch as is today is also not the end
    of the world, just seeing that is just usually a sign something is not
    ideal with the object model.

    Jason

    \
     
     \ /
      Last update: 2021-01-05 13:51    [W:4.461 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site