aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2007-02-13 16:09:02 -0500
committerJean Delvare <khali@arrakis.delvare>2007-02-13 16:09:02 -0500
commit88b9e750e974febd9128fc622109c526a9d22c10 (patch)
treee3d686081c427040e0ea75eade159bcaa673ef07 /security
parent55249cf750e4d9be19c7f8afd502c9ca42de8858 (diff)
i2c-amd8111: Proposed cleanups
Proposed cleanups to the i2c-amd8111 SMBus driver: * Fold long lines. * Add an explicit mask when writing the low byte of a word. * Use I2C_SMBUS_BLOCK_MAX instead of hardcoding 32. * Discard extra blank lines. * Use boolean not instead of bitwise not for bit tests, it's clearer. * Return -EBUSY rather than -1 on I/O resource conflict. * Fix a race on device registration, initialization should be done before the bus is registered. Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions