All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: android: ion: fix checks found by checkpatch.pl
@ 2016-09-30 22:58 Wayne Porter
  0 siblings, 0 replies; only message in thread
From: Wayne Porter @ 2016-09-30 22:58 UTC (permalink / raw)
  To: labbott; +Cc: devel, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1293 bytes --]

Alignment fixes

Signed-off-by: Wayne Porter <wporter82@gmail.com>
---
 drivers/staging/android/ion/hisilicon/hi6220_ion.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/android/ion/hisilicon/hi6220_ion.c b/drivers/staging/android/ion/hisilicon/hi6220_ion.c
index 659aa71..a2f2611 100644
--- a/drivers/staging/android/ion/hisilicon/hi6220_ion.c
+++ b/drivers/staging/android/ion/hisilicon/hi6220_ion.c
@@ -29,11 +29,11 @@ struct hisi_ion_dev {
 
 static struct ion_of_heap hisi_heaps[] = {
 	PLATFORM_HEAP("hisilicon,sys_user", 0,
-			ION_HEAP_TYPE_SYSTEM, "sys_user"),
+		      ION_HEAP_TYPE_SYSTEM, "sys_user"),
 	PLATFORM_HEAP("hisilicon,sys_contig", 1,
-			ION_HEAP_TYPE_SYSTEM_CONTIG, "sys_contig"),
+		      ION_HEAP_TYPE_SYSTEM_CONTIG, "sys_contig"),
 	PLATFORM_HEAP("hisilicon,cma", ION_HEAP_TYPE_DMA, ION_HEAP_TYPE_DMA,
-			"cma"),
+		      "cma"),
 	{}
 };
 
@@ -57,7 +57,7 @@ static int hi6220_ion_probe(struct platform_device *pdev)
 		return PTR_ERR(ipdev->data);
 
 	ipdev->heaps = devm_kzalloc(&pdev->dev,
-				sizeof(struct ion_heap)*ipdev->data->nr,
+				sizeof(struct ion_heap) * ipdev->data->nr,
 				GFP_KERNEL);
 	if (!ipdev->heaps) {
 		ion_destroy_platform_data(ipdev->data);
-- 
2.1.4


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-09-30 22:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-30 22:58 [PATCH] staging: android: ion: fix checks found by checkpatch.pl Wayne Porter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.