clk: Drop dm.h header file in clk-provider.h
authorSimon Glass <sjg@chromium.org>
Sun, 19 Jul 2020 16:15:56 +0000 (10:15 -0600)
committerTom Rini <trini@konsulko.com>
Tue, 4 Aug 2020 02:19:54 +0000 (22:19 -0400)
commitfb989e0c6ce019466f24fbd529890d89a21c8472
tree986fd6e48d250408d7de5a2e9edc7aeff5b5f4a0
parent161786259ca43dc4cad40755b48f868768577270
clk: Drop dm.h header file in clk-provider.h

This header file should not be included in other header files. Remove it
and use a forward declaration and un-inlining of dev_get_clk_ptr()
instead.

Fix up the kendryte header files to avoid build errors.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
drivers/clk/clk-uclass.c
drivers/clk/kendryte/bypass.c
drivers/clk/kendryte/pll.c
include/kendryte/bypass.h
include/linux/clk-provider.h