summaryrefslogtreecommitdiff
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2009-08-07 20:47:33 (GMT)
committerDavid S. Miller <davem@davemloft.net>2009-08-13 04:54:54 (GMT)
commit582b95c2709cd58913ec2a31b0266ba0aa67b03d (patch)
tree69d58ca7891dbee1dd35eee630b0344f991698a5 /drivers/hwmon
parent176edd52366d59350717b0bf6865b1d7ece156cc (diff)
downloadlinux-fsl-qoriq-582b95c2709cd58913ec2a31b0266ba0aa67b03d.tar.xz
drivers/net/tokenring: Use status field rather than state field
In general in this file, it is the status field, not the state field, that contains values like OPEN and CLOSED. Indeed, in the first error case, it is the field status that is initialized. I have thus assumed that all of the error handling code should be the same, and moved it to the end of the function to emphasize its commonality. Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions