• R
    remove struct uclass_driver::ops · 98c14ff0
    Rasmus Villemoes 提交于
    Each _device_ belonging to a given uclass of course has its own ->ops,
    of a type determined by and known to the uclass.
    
    However, no instance of a uclass_driver seems to populate ->ops, and
    the only reference to it in code is this relocation.
    
    Moreover, it's not really clear what could sensibly be assigned; it
    would have to be some "struct uclass_ops *" providing a set of methods
    for the core to call on that particular uclass, but should the need
    for that ever arise, it would be better to have a member of that
    particular type instead of void*.
    Signed-off-by: NRasmus Villemoes <rasmus.villemoes@prevas.dk>
    Reviewed-by: NSimon Glass <sjg@chromium.org>
    98c14ff0
uclass.h 16.3 KB