
On Wed, 19 May 2021 at 10:08, Rasmus Villemoes rasmus.villemoes@prevas.dk wrote:
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: Rasmus Villemoes rasmus.villemoes@prevas.dk
drivers/core/root.c | 3 --- include/dm/uclass.h | 3 --- 2 files changed, 6 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org