[PATCH 07/10] MCDE: Add display subsystem framework
Jimmy RUBIN
jimmy.rubin at stericsson.com
Thu Nov 25 02:16:38 EST 2010
Hi,
> > +struct kobj_type ovly_type = {
> > + .release = overlay_release,
> > +};
>
> You certainly should not define a new kobj_type for use in a device
> driver.
> This is an internal data structure of the linux core code. It might
> make
> sense if you were trying to become the new frame buffer layer
> maintainer
> and rewrite all the existing drivers to be based on the concept of
> overlays, but even then there is probably a better way.
>
> Maybe you were thinking of using kref instead of kobj?
>
Good point, I looked at kref and that is what we want to do.
> > +int __init mcde_dss_init(void)
> > +{
> > + return 0;
> > +}
> > +
> > +void mcde_dss_exit(void)
> > +{
> > +}
>
> If they don't do anything, don't define them.
>
Agree, will remove them
/Jimmy
More information about the linux-arm-kernel
mailing list