[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)
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>

No differences found