From: Uwe Kleine-König Date: Sun, 29 Nov 2009 23:53:17 +0000 (+0100) Subject: mfd: Near complete mc13783 rewrite X-Git-Tag: v2.6.33-rc1~285^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e2726776d45b1e383625b3ce4f8b511456e09ad;p=pandora-kernel.git mfd: Near complete mc13783 rewrite This fixes several things while still providing the old API: - simplify and fix locking - better error handling - don't ack all irqs making it impossible to detect a reset of the rtc - use a timeout variant to wait for completion of ADC conversion - provide platform-data to regulator subdevice (This allows making struct mc13783 opaque for other drivers after the regulator driver is updated to use its platform_data.) - expose all interrupts - use threaded irq After all users in mainline are converted to the new API, some things (e.g. mc13783-private.h) can go away. Signed-off-by: Uwe Kleine-König Cc: Sascha Hauer Cc: Mark Brown Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed