OSDN Git Service

clk: Constify clk_hw argument to provider APIs
authorStephen Boyd <sboyd@codeaurora.org>
Wed, 12 Aug 2015 20:04:56 +0000 (13:04 -0700)
committerMichael Turquette <mturquette@baylibre.com>
Mon, 24 Aug 2015 23:49:11 +0000 (16:49 -0700)
commite7df6f6e21883d7e8b3ad4641c911da8314ef283
treef8093aca607b3d00865e3d9b4264d3e90d2c93d2
parentc1628a2c416da947f5afac615d53189250fa49cb
clk: Constify clk_hw argument to provider APIs

We don't modify the clk_hw argument in these functions, so it's
safe to mark it as const.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk.c
include/linux/clk-provider.h