Commit ff0d5f8b authored by David Brownell's avatar David Brownell Committed by Tony Lindgren

[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: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 8c0278bf
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment