Re: [PATCH 1/3] drm/bridge: make drm_connector_funcs structures const

2017-08-08 Thread Laurent Pinchart
Hi Bhumika, Thank you for the patch. On Tuesday 08 Aug 2017 16:58:30 Bhumika Goyal wrote: > Make these const as they are only passed to the function > drm_connector_init and the corresponding argument is of type const. > Done using Coccinelle > > @match disable optional_qualifier@ > identifier

Re: [PATCH 1/3] drm/bridge: make drm_connector_funcs structures const

2017-08-08 Thread Laurent Pinchart
Hi Bhumika, Thank you for the patch. On Tuesday 08 Aug 2017 16:58:30 Bhumika Goyal wrote: > Make these const as they are only passed to the function > drm_connector_init and the corresponding argument is of type const. > Done using Coccinelle > > @match disable optional_qualifier@ > identifier

[PATCH 1/3] drm/bridge: make drm_connector_funcs structures const

2017-08-08 Thread Bhumika Goyal
Make these const as they are only passed to the function drm_connector_init and the corresponding argument is of type const. Done using Coccinelle @match disable optional_qualifier@ identifier s; @@ static struct drm_connector_funcs s = {...}; @ref@ position p; identifier match.s; @@ s@p

[PATCH 1/3] drm/bridge: make drm_connector_funcs structures const

2017-08-08 Thread Bhumika Goyal
Make these const as they are only passed to the function drm_connector_init and the corresponding argument is of type const. Done using Coccinelle @match disable optional_qualifier@ identifier s; @@ static struct drm_connector_funcs s = {...}; @ref@ position p; identifier match.s; @@ s@p