diff options
author | Milo(Woogyom) Kim <milo.kim@ti.com> | 2013-02-05 09:58:01 +0100 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-02-07 00:59:26 +0100 |
commit | f6c64c6fc8d793b414446f1a655a37b7bfce68e3 (patch) | |
tree | 4190d716484d160738eecddf33e98aa162bc5f1b /fs/openpromfs | |
parent | leds-lp55xx: add device reset function in lp5521/5523 (diff) | |
download | linux-f6c64c6fc8d793b414446f1a655a37b7bfce68e3.tar.xz linux-f6c64c6fc8d793b414446f1a655a37b7bfce68e3.zip |
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 'fs/openpromfs')
0 files changed, 0 insertions, 0 deletions