diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2017-03-15 14:31:34 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2017-03-23 23:40:29 +0300 |
commit | 074363a5a08c1be345c7d4bd6b0cf0d87a76c729 (patch) | |
tree | 6889801f2f28e92409a84de25161bf0267d23756 /drivers/leds/led-class-flash.c | |
parent | 1ae5214a22f51b42d5f63161e70cf8af4803ff55 (diff) | |
download | linux-074363a5a08c1be345c7d4bd6b0cf0d87a76c729.tar.xz |
i2c: mv64xxx: simplify optional reset handling
As of commit bb475230b8e5 ("reset: make optional functions really
optional"), the reset framework API calls use NULL pointers to describe
optional, non-present reset controls.
This allows to return errors from devm_reset_control_get_optional and to
call reset_control_(de)assert unconditionally.
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/leds/led-class-flash.c')
0 files changed, 0 insertions, 0 deletions