Commit b1e42d9f authored by Wayne Porter's avatar Wayne Porter Committed by Greg Kroah-Hartman

staging: android: ion: fix checks found by checkpatch.pl

Alignment fixes
Signed-off-by: default avatarWayne Porter <wporter82@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b4e26d6c
...@@ -57,7 +57,7 @@ static int hi6220_ion_probe(struct platform_device *pdev) ...@@ -57,7 +57,7 @@ static int hi6220_ion_probe(struct platform_device *pdev)
return PTR_ERR(ipdev->data); return PTR_ERR(ipdev->data);
ipdev->heaps = devm_kzalloc(&pdev->dev, ipdev->heaps = devm_kzalloc(&pdev->dev,
sizeof(struct ion_heap)*ipdev->data->nr, sizeof(struct ion_heap) * ipdev->data->nr,
GFP_KERNEL); GFP_KERNEL);
if (!ipdev->heaps) { if (!ipdev->heaps) {
ion_destroy_platform_data(ipdev->data); ion_destroy_platform_data(ipdev->data);
......
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