Axel Lin 2429d86386 mfd: max77693: Init max77693->dev before using it
Current code uses max77693->dev in the dev_err call before setting it to
&i2c->dev. Fix it.

This patch also includes below cleanups:
 - Move checking pdata earlier and show dev_err if no platform data found.
 - Remove unnecessary err_regmap goto label.
 - Unregister i2c devices if regmap init for muic fails.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
2013-01-22 03:02:22 +01:00
..
2012-11-28 12:20:19 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-07-16 15:00:32 +02:00
2012-11-23 12:09:19 +01:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:20:19 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-09-23 20:51:34 +02:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-12-12 11:45:16 -08:00
2012-11-28 12:21:11 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-01-09 00:37:44 +01:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:22:27 -08:00
2012-11-28 12:20:19 -08:00
2012-11-28 12:22:27 -08:00