diff options
author | Stephen Boyd <sboyd@kernel.org> | 2018-12-11 21:49:40 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2019-01-25 01:21:13 +0300 |
commit | 9fe9b7ab4d050eaf646728752b320043c59dc214 (patch) | |
tree | a1e12d543a0259454a7ecbc0d5b908ae9480ecac /include | |
parent | 38581ddc48b761936fc65948d0a0f6fe0db1aa31 (diff) | |
download | linux-9fe9b7ab4d050eaf646728752b320043c59dc214.tar.xz |
clk: Document deprecated things
We don't want driver authors to use the struct clk based registration
and provider APIs. Instead, they should use the clk_hw based APIs. Add
some notes in the kerneldoc to this effect.
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/clk-provider.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h index b65b48cc31f1..adb8a58e213c 100644 --- a/include/linux/clk-provider.h +++ b/include/linux/clk-provider.h @@ -24,7 +24,7 @@ #define CLK_SET_RATE_PARENT BIT(2) /* propagate rate change up one level */ #define CLK_IGNORE_UNUSED BIT(3) /* do not gate even if unused */ /* unused */ -#define CLK_IS_BASIC BIT(5) /* Basic clk, can't do a to_clk_foo() */ +#define CLK_IS_BASIC BIT(5) /* deprecated, don't use */ #define CLK_GET_RATE_NOCACHE BIT(6) /* do not use the cached clk rate */ #define CLK_SET_RATE_NO_REPARENT BIT(7) /* don't re-parent on rate change */ #define CLK_GET_ACCURACY_NOCACHE BIT(8) /* do not use the cached clk accuracy */ |