Re: [PATCH] drivers: misc: mic: constify mbus_hw_ops structures
From: Vinod Koul
Date: Mon Jan 02 2017 - 00:10:56 EST
On Tue, Dec 20, 2016 at 04:26:17PM +0530, Bhumika Goyal wrote:
> The fields of structure mbus_hw_ops are never modified after
> initialization, so declare these structures as const. Add a const
> annotation to all its initializations and uses like function arguments
> and pointers.
> Used Coccinelle to find all the occurences.
Can you please split these per driver so that they can be merged thru their
own subsystems.
--
~Vinod