Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b095098 authored by Ezequiel Garcia's avatar Ezequiel Garcia Committed by Jon Hunter
Browse files

ARM: omap2: gpmc: Remove unused gpmc_round_ns_to_ticks() function



This function is not used anywhere, so it's safe to remove it.
This means less code to maintain.

Signed-off-by: default avatarEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Reviewed-by: default avatarJon Hunter <jon-hunter@ti.com>
Signed-off-by: default avatarJon Hunter <jon-hunter@ti.com>
parent 3fc089e7
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -230,13 +230,6 @@ unsigned int gpmc_ticks_to_ns(unsigned int ticks)
	return ticks * gpmc_get_fclk_period() / 1000;
}

static unsigned int gpmc_round_ns_to_ticks(unsigned int time_ns)
{
	unsigned long ticks = gpmc_ns_to_ticks(time_ns);

	return ticks * gpmc_get_fclk_period() / 1000;
}

static unsigned int gpmc_ticks_to_ps(unsigned int ticks)
{
	return ticks * gpmc_get_fclk_period();