imx: mmdc_size: Fix checkpatch warnings
authorFabio Estevam <festevam@gmail.com>
Thu, 18 Jul 2019 18:04:23 +0000 (15:04 -0300)
committerStefano Babic <sbabic@denx.de>
Mon, 14 Oct 2019 07:31:41 +0000 (09:31 +0200)
commita02a5fb6ff8d1b5e9cd481cea69f3ad471033b1c
tree876a857e36a9522aa0129e366f427edf25664f1b
parent89bc388a320a0a42c60582b02264a0d95c287c3b
imx: mmdc_size: Fix checkpatch warnings

The original imx_ddr_size() implementation had some
issues reported by checkpatch like this:

CHECK: Prefer kernel type 'u32' over 'uint32_t'
#127: FILE: arch/arm/mach-imx/mmdc_size.c:16:
+ uint32_t ctl;

WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
#151: FILE: arch/arm/mach-imx/mmdc_size.c:40:
+ unsigned ctl = readl(&mem->ctl);

Fix all of them.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
arch/arm/mach-imx/mmdc_size.c