summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-versatile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2020-09-15 14:18:55 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-09-15 14:42:49 +0200
commit6d0c96cceb8aaa57f52971aae6ff237e4b36ba33 (patch)
tree6d04120c90785ad57ab5925deeebc0439f26d980 /arch/arm/mach-versatile
parent804bee7ff231fe2a1ad7a7b42dcebedd2d57d45d (diff)
downloadbarebox-6d0c96cceb8aaa57f52971aae6ff237e4b36ba33.tar.gz
barebox-6d0c96cceb8aaa57f52971aae6ff237e4b36ba33.tar.xz
ARM: versatile: Remove unused function
vpb_clk_create() is unused in the codebase. Remove it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-versatile')
-rw-r--r--arch/arm/mach-versatile/core.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/arm/mach-versatile/core.c b/arch/arm/mach-versatile/core.c
index 7c6e9523a2..006d4e7231 100644
--- a/arch/arm/mach-versatile/core.c
+++ b/arch/arm/mach-versatile/core.c
@@ -75,19 +75,6 @@ void clk_disable(struct clk *clk)
}
EXPORT_SYMBOL(clk_disable);
-/* Create a clock structure with the given name */
-int vpb_clk_create(struct clk *clk, const char *dev_id)
-{
- struct clk_lookup *clkdev;
-
- clkdev = clkdev_alloc(clk, NULL, dev_id);
- if (!clkdev)
- return -ENOMEM;
-
- clkdev_add(clkdev);
- return 0;
-}
-
/* 1Mhz / 256 */
#define TIMER_FREQ (1000000/256)