Commit 1a1e7580 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski

memory: omap-gpmc: Fix whitespace issue

Fix minor whitespace and comment issues.  No functional changes.
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
parent 07852c3f
...@@ -959,7 +959,7 @@ static int gpmc_cs_remap(int cs, u32 base) ...@@ -959,7 +959,7 @@ static int gpmc_cs_remap(int cs, u32 base)
* Make sure we ignore any device offsets from the GPMC partition * Make sure we ignore any device offsets from the GPMC partition
* allocated for the chip select and that the new base confirms * allocated for the chip select and that the new base confirms
* to the GPMC 16MB minimum granularity. * to the GPMC 16MB minimum granularity.
*/ */
base &= ~(SZ_16M - 1); base &= ~(SZ_16M - 1);
gpmc_cs_get_memconf(cs, &old_base, &size); gpmc_cs_get_memconf(cs, &old_base, &size);
...@@ -1754,10 +1754,11 @@ static int gpmc_calc_common_timings(struct gpmc_timings *gpmc_t, ...@@ -1754,10 +1754,11 @@ static int gpmc_calc_common_timings(struct gpmc_timings *gpmc_t,
return 0; return 0;
} }
/* TODO: remove this function once all peripherals are confirmed to /*
* TODO: remove this function once all peripherals are confirmed to
* work with generic timing. Simultaneously gpmc_cs_set_timings() * work with generic timing. Simultaneously gpmc_cs_set_timings()
* has to be modified to handle timings in ps instead of ns * has to be modified to handle timings in ps instead of ns
*/ */
static void gpmc_convert_ps_to_ns(struct gpmc_timings *t) static void gpmc_convert_ps_to_ns(struct gpmc_timings *t)
{ {
t->cs_on /= 1000; t->cs_on /= 1000;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment