From: Milo(Woogyom) Kim Date: Tue, 5 Feb 2013 09:58:35 +0000 (+0900) Subject: leds-lp55xx: clean up init function X-Git-Tag: v3.9-rc1~79^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22ebeb488b3dbbb64b81146b366551107ae34af8;p=pandora-kernel.git leds-lp55xx: clean up init function lp5521/5523_init_device() are replaced with lp55xx common function, lp55xx_init_device(). Error handler in init_device: deinit function are matched with 'err_post_init' section in lp55xx_init_device(). Remove LP5523 engine intialization code: Engine functionality is not mandatory but optional. Moreover engine initialization is done internally with device reset command. Therefore, this code is unnecessary. Signed-off-by: Milo(Woogyom) Kim Signed-off-by: Bryan Wu --- Reading git-diff-tree failed