projects
/
libam7xxx.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
495f38d
)
am7xxx: fix coding style
author
Antonio Ospite <ospite@studenti.unina.it>
Thu, 14 Mar 2013 10:22:05 +0000
(11:22 +0100)
committer
Antonio 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
patch
|
blob
|
history
diff --git
a/src/am7xxx.c
b/src/am7xxx.c
index
96fd2b9
..
83d9a91
100644
(file)
--- 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;