[PATCH] drm/sun4i: constify component_ops structures

2016-11-13 Thread Daniel Vetter
On Sat, Nov 12, 2016 at 6:19 PM, Julia Lawall wrote: > These component_ops structures are only used as the second argument to > component_add and component_del, which are declared as const, so the > structures can be declared as const as well. > > The semantic patch that makes this change is as

[PATCH] drm/sun4i: constify component_ops structures

2016-11-12 Thread Julia Lawall
These component_ops structures are only used as the second argument to component_add and component_del, which are declared as const, so the structures can be declared as const as well. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @r disable