diff options
author | Milo(Woogyom) Kim <milo.kim@ti.com> | 2013-02-05 08:58:01 (GMT) |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-02-06 23:59:26 (GMT) |
commit | f6c64c6fc8d793b414446f1a655a37b7bfce68e3 (patch) | |
tree | 4190d716484d160738eecddf33e98aa162bc5f1b /drivers/leds/leds-lp55xx-common.h | |
parent | 86eb7748cef00faa3eaefc8fc450ed30281a09e7 (diff) | |
download | linux-f6c64c6fc8d793b414446f1a655a37b7bfce68e3.tar.xz |
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>
Diffstat (limited to 'drivers/leds/leds-lp55xx-common.h')
0 files changed, 0 insertions, 0 deletions