commit | f6c64c6fc8d793b414446f1a655a37b7bfce68e3 | [log] [tgz] |
---|---|---|
author | Milo(Woogyom) Kim <milo.kim@ti.com> | Tue Feb 05 17:58:01 2013 +0900 |
committer | Bryan Wu <cooloney@gmail.com> | Wed Feb 06 15:59:26 2013 -0800 |
tree | 4190d716484d160738eecddf33e98aa162bc5f1b | |
parent | 86eb7748cef00faa3eaefc8fc450ed30281a09e7 [diff] |
leds-lp55xx: do chip specific configuration on device init Chip specific function is configured when the device is initialized. So _configure() is moved to each device init function. If chip configuration gets failed, the device is de-initialized in each _init_device(), not probe(). For compile error fix, function type declarations are added. Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com> Signed-off-by: Bryan Wu <cooloney@gmail.com>