aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarek Vasut2018-08-24 21:29:04 +0200
committerMarek Vasut2018-09-15 03:19:07 +0200
commitae59a9f8f7785d86277149eb37314d2f21392f6f (patch)
tree18a34d71fa30ef64cb42a973cbd6b3e5b3790e8b /include
parent15f11fc6d72175ff5b7763f03d7b0d502efd24af (diff)
sh: tmu: Inline get_tmu0_clk_rate()
This function just returns CONFIG_SH_TMU_CLK_FREQ, use the constant directly instead. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/sh_tmu.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/sh_tmu.h b/include/sh_tmu.h
index aa60c98750a..70aca2149ac 100644
--- a/include/sh_tmu.h
+++ b/include/sh_tmu.h
@@ -67,9 +67,4 @@ struct tmu_regs {
};
#endif /* CONFIG_CPU_SH4 */
-static inline unsigned long get_tmu0_clk_rate(void)
-{
- return CONFIG_SH_TMU_CLK_FREQ;
-}
-
#endif /* __SH_TMU_H */