diff options
author | Milo(Woogyom) Kim <milo.kim@ti.com> | 2013-02-05 12:58:01 +0400 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-02-07 03:59:26 +0400 |
commit | f6c64c6fc8d793b414446f1a655a37b7bfce68e3 (patch) | |
tree | 4190d716484d160738eecddf33e98aa162bc5f1b /include/linux/platform_data/leds-lp55xx.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 'include/linux/platform_data/leds-lp55xx.h')
0 files changed, 0 insertions, 0 deletions