From: Vaibhav Hiremath Date: Tue, 14 Jul 2015 07:36:45 +0000 (+0530) Subject: i2c: pxa: Use devm_ variants in probe function X-Git-Tag: omap-for-v4.3/fixes-rc1~62^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51fcce86a70f6f63d733619afc425821118838dc;p=pandora-kernel.git i2c: pxa: Use devm_ variants in probe function This patch cleans up i2c_pxa_probe() function, - Use devm_ variants wherever This will clean both probe exit and i2c_pxa_remove() functions - Check platform resource before parsing any other data from DT/platform - Use dev_err on failure from i2c_add_numbered_adapter() - Use pr_info instead of printk for KERN_INFO Signed-off-by: Vaibhav Hiremath Acked-by: Robert Jarzmik [wsa: removed unneeded error prinout after devm_ioremap_resource] Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed