diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2015-10-29 22:12:56 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-11-20 20:16:31 +0100 |
commit | 20dd882a09d3cce183eef4c9132c23439caaf0d6 (patch) | |
tree | be964bf741bd09cc0b945ba54f62a324fda5de35 /drivers/clk/clk.c | |
parent | clk: fix a typo in comment block of struct clk_rate_request (diff) | |
download | linux-20dd882a09d3cce183eef4c9132c23439caaf0d6.tar.xz linux-20dd882a09d3cce183eef4c9132c23439caaf0d6.zip |
clk: Use static inline functions instead of macros for dummies
if CONFIG_OF=n:
drivers/clk/clk-cs2000-cp.c: In function ‘cs2000_remove’:
drivers/clk/clk-cs2000-cp.c:453:22: warning: unused variable ‘np’ [-Wunused-variable]
struct device_node *np = dev->of_node;
^
Convert dummies of_clk_del_provider() and of_clk_init() from macros to
static inline functions to kill such compiler warnings.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/clk.c')
0 files changed, 0 insertions, 0 deletions