[PATCH] soc: dove: Make reset_control_ops const

Jason Cooper jason at lakedaemon.net
Thu Feb 25 04:31:59 PST 2016


Hi Philipp,

On Thu, Feb 25, 2016 at 10:46:08AM +0100, Philipp Zabel wrote:
> The pmu_reset_ops structure is never modified. Make it const.
> 
> Signed-off-by: Philipp Zabel <p.zabel at pengutronix.de>
> ---
> Since commit 203d4f347d86 ("reset: Make reset_control_ops const") marked
> the ops pointer in struct reset_controller_dev as const, this struct can
> be made const, too. The commit is currently sitting in the
> arm-soc/for-next branch.

Please include this in the commit body.  All except the last sentence.

> ---
>  drivers/soc/dove/pmu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

With that,

Acked-by: Jason Cooper <jason at lakedaemon.net>

thx,

Jason.



More information about the linux-arm-kernel mailing list