iommu/arm-smmu: fix some checkpatch issues
authorMitchel Humpherys <mitchelh@codeaurora.org>
Tue, 8 Jul 2014 16:52:18 +0000 (09:52 -0700)
committerWill Deacon <will.deacon@arm.com>
Wed, 9 Jul 2014 09:38:23 +0000 (10:38 +0100)
commit2907320df3189420cb66178a86b2917f4b64018f
tree953cae4299978b931d6b7face89fd81173c05644
parentd3bca16635ae7443139c4408def7c1a50755083f
iommu/arm-smmu: fix some checkpatch issues

Fix some issues reported by checkpatch.pl. Mostly whitespace, but also
includes min=>min_t, kzalloc=>kcalloc, and kmalloc=>kmalloc_array.

The only issue I'm leaving alone is:

    arm-smmu.c:853: WARNING: line over 80 characters
    #853: FILE: arm-smmu.c:853:
    +                     (MAIR_ATTR_WBRWA << MAIR_ATTR_SHIFT(MAIR_ATTR_IDX_CACHE)) |

since it seems to be a case where "exceeding 80 columns significantly
increases readability and does not hide information."
(Documentation/CodingStyle).

Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/iommu/arm-smmu.c