diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2020-07-24 09:40:31 +0200 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2020-07-24 16:18:32 +0200 |
commit | 1a1e7580e771eb6973ec5ffe93e6cdeecad98f66 (patch) | |
tree | 43868815945e95d9158af7adc7b85371b5e7f982 /drivers/memory | |
parent | memory: omap-gpmc: Include <linux/sizes.h> for SZ_16M (diff) | |
download | linux-1a1e7580e771eb6973ec5ffe93e6cdeecad98f66.tar.xz linux-1a1e7580e771eb6973ec5ffe93e6cdeecad98f66.zip |
memory: omap-gpmc: Fix whitespace issue
Fix minor whitespace and comment issues. No functional changes.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'drivers/memory')
-rw-r--r-- | drivers/memory/omap-gpmc.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/memory/omap-gpmc.c b/drivers/memory/omap-gpmc.c index a4843d397c0f..896f3368a194 100644 --- a/drivers/memory/omap-gpmc.c +++ b/drivers/memory/omap-gpmc.c @@ -959,7 +959,7 @@ static int gpmc_cs_remap(int cs, u32 base) * Make sure we ignore any device offsets from the GPMC partition * allocated for the chip select and that the new base confirms * to the GPMC 16MB minimum granularity. - */ + */ base &= ~(SZ_16M - 1); gpmc_cs_get_memconf(cs, &old_base, &size); @@ -1754,10 +1754,11 @@ static int gpmc_calc_common_timings(struct gpmc_timings *gpmc_t, 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() * has to be modified to handle timings in ps instead of ns -*/ + */ static void gpmc_convert_ps_to_ns(struct gpmc_timings *t) { t->cs_on /= 1000; |