[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190808045653.3188220880@mail.kernel.org>
Date: Wed, 07 Aug 2019 21:56:52 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Andrey Smirnov <andrew.smirnov@...il.com>,
linux-clk@...r.kernel.org
Cc: Andrey Smirnov <andrew.smirnov@...il.com>,
Russell King <linux@...linux.org.uk>,
Chris Healy <cphealy@...il.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] clk: Constify struct clk_bulk_data * where possible
Quoting Andrey Smirnov (2019-07-17 07:56:51)
> The following functions:
>
> - clk_bulk_enable()
> - clk_bulk_prepare()
> - clk_bulk_disable()
> - clk_bulk_unprepare()
>
> already expect const clk_bulk_data * as a second parameter, however
> their no-op version have mismatching prototypes that don't. Fix that.
>
> While at it, constify the second argument of clk_bulk_prepare_enable()
> and clk_bulk_disable_unprepare(), since the functions they are
> comprised of already accept const clk_bulk_data *.
>
> Signed-off-by: Andrey Smirnov <andrew.smirnov@...il.com>
> Cc: Russell King <linux@...linux.org.uk>
> Cc: Stephen Boyd <sboyd@...nel.org>
> Cc: Chris Healy <cphealy@...il.com>
> Cc: linux-clk@...r.kernel.org
> Cc: linux-kernel@...r.kernel.org
> ---
Applied to clk-next
Powered by blists - more mailing lists