summaryrefslogtreecommitdiff
path: root/drivers/mfd/Makefile
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2012-12-24 16:28:36 (GMT)
committerSamuel Ortiz <sameo@linux.intel.com>2013-01-22 02:02:22 (GMT)
commit2429d863868edb611f033c9ce4db519fbc270240 (patch)
tree943dc4db17e091a2fcba3f291307d9214610837d /drivers/mfd/Makefile
parent136d982ecae912c815587a1653f235f0ef570da8 (diff)
downloadlinux-2429d863868edb611f033c9ce4db519fbc270240.tar.xz
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>
Diffstat (limited to 'drivers/mfd/Makefile')
0 files changed, 0 insertions, 0 deletions