summaryrefslogtreecommitdiffstats
path: root/kernel/time/timeconv.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2012-12-25 00:28:36 +0800
committerSamuel Ortiz <sameo@linux.intel.com>2013-01-22 03:02:22 +0100
commit2429d863868edb611f033c9ce4db519fbc270240 (patch)
tree943dc4db17e091a2fcba3f291307d9214610837d /kernel/time/timeconv.c
parent136d982ecae912c815587a1653f235f0ef570da8 (diff)
downloadop-kernel-dev-2429d863868edb611f033c9ce4db519fbc270240.zip
op-kernel-dev-2429d863868edb611f033c9ce4db519fbc270240.tar.gz
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 'kernel/time/timeconv.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud