am7xxx: fix coding style
authorAntonio Ospite <ospite@studenti.unina.it>
Thu, 14 Mar 2013 10:22:05 +0000 (11:22 +0100)
committerAntonio Ospite <ospite@studenti.unina.it>
Thu, 14 Mar 2013 10:22:05 +0000 (11:22 +0100)
Keep logical operators on the current line when continuing to another line.

src/am7xxx.c

index 96fd2b9..83d9a91 100644 (file)
@@ -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;