blackfin: Use generic clkdev.h header
authorStephen Boyd <sboyd@codeaurora.org>
Wed, 27 Jan 2016 22:18:02 +0000 (14:18 -0800)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 2 Jan 2018 23:41:24 +0000 (15:41 -0800)
The generic header file is equivalent to the blackfin version, so
just use the generic one.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
arch/blackfin/include/asm/Kbuild
arch/blackfin/include/asm/clkdev.h [deleted file]

index fe736973630f7815b252cb5558316a6fed08e9f6..40e44231743fbd5eb0abe1e177f860a9e3634f1a 100644 (file)
@@ -1,4 +1,5 @@
 generic-y += bugs.h
+generic-y += clkdev.h
 generic-y += current.h
 generic-y += device.h
 generic-y += div64.h
diff --git a/arch/blackfin/include/asm/clkdev.h b/arch/blackfin/include/asm/clkdev.h
deleted file mode 100644 (file)
index ded0209..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef __ASM_CLKDEV__H_
-#define __ASM_CLKDEV__H_
-
-#include <linux/slab.h>
-
-static inline struct clk_lookup_alloc *__clkdev_alloc(size_t size)
-{
-       return kzalloc(size, GFP_KERNEL);
-}
-
-#ifndef CONFIG_COMMON_CLK
-#define __clk_put(clk)
-#define __clk_get(clk) ({ 1; })
-#endif
-
-#endif