Skip to content

Commit

Permalink
i2c: octeon: Cleanup i2c-octeon driver
Browse files Browse the repository at this point in the history
Cleanup only without functional change.

- removed DRV_VERSION
- defines: use defines instead of plain values,
  use BIT_ULL macro, add comments
- rename waitqueue return value to time_left
- sort local variables by length
- fix indentation and whitespace errors
- make function return void if the result is not used
  (octeon_i2c_stop, octeon_i2c_set_clock)
- remove debug code from octeon_i2c_stop
- renamed some functions for readability
- update copyright

Signed-off-by: Jan Glauber <jglauber@cavium.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
  • Loading branch information
Jan Glauber authored and Wolfram Sang committed Mar 18, 2016
1 parent 7724fd0 commit dfcd821
Showing 1 changed file with 84 additions and 106 deletions.
Loading

0 comments on commit dfcd821

Please sign in to comment.