]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ARM: OMAP: I2C cleanups
authorDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 26 Jul 2005 08:10:40 +0000 (01:10 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 26 Jul 2005 08:10:40 +0000 (01:10 -0700)
commitff0d5f8bd361d07b78a1eabab2922734dc8ce656
treedae6b10528bd39d3f54be41340276aa933d18efb
parent8c0278bf41a7053fb52e0d7b12507682e2e2e33c
[PATCH] ARM: OMAP: I2C cleanups

I2C driver cleanups, shrinking object code by a bit over 1KB:

    * cleanup debug-only code
- remove the scan code ... doesn't work, among other things
- default debug (and scan) code to "off";
- reduce (ab)use of driver-specific printk wrappers;
    * comments:
- correct and/or cleanup;
- remove internal changelog (that's for GIT, BK, CVS, etc);
    * move all MODULE_* stuff to conventional locations;
    * fix some of the whitespace problems

Plus small bugfixes:

    * reserve physical memory addresses instead of virtual i/o ones;
    * define the adapter as supporting "I2C_CLASS_HWMON"
    * don't clobber driver state if reservation fails
    * check directly for I2C rev1 instead of omap1510 CPU;
    * using the right driver name in several places.
    * startup message info is no longer content-free

Plus start on the "sparse" fixes.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/i2c/busses/i2c-omap.c