From: Antonio Ospite <ospite@studenti.unina.it>
Date: Thu, 14 Mar 2013 10:22:05 +0000 (+0100)
Subject: am7xxx: fix coding style
X-Git-Tag: v0.1.3~4
X-Git-Url: https://git.ao2.it/libam7xxx.git/commitdiff_plain/3fc490e6530865e1b33cd57c7a6bfcc9aff66ab6?ds=inline

am7xxx: fix coding style

Keep logical operators on the current line when continuing to another line.
---

diff --git a/src/am7xxx.c b/src/am7xxx.c
index 96fd2b9..83d9a91 100644
--- a/src/am7xxx.c
+++ b/src/am7xxx.c
@@ -557,8 +557,8 @@ static int scan_devices(am7xxx_context *ctx, scan_op op,
 			continue;
 
 		for (j = 0; j < ARRAY_SIZE(supported_devices); j++) {
-			if (desc.idVendor == supported_devices[j].vendor_id
-			    && desc.idProduct == supported_devices[j].product_id) {
+			if (desc.idVendor == supported_devices[j].vendor_id &&
+			    desc.idProduct == supported_devices[j].product_id) {
 
 				if (op == SCAN_OP_BUILD_DEVLIST) {
 					am7xxx_device *new_device;