diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2017-03-15 12:31:34 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2017-03-23 21:40:29 +0100 |
commit | 074363a5a08c1be345c7d4bd6b0cf0d87a76c729 (patch) | |
tree | 6889801f2f28e92409a84de25161bf0267d23756 /Kbuild | |
parent | i2c: tegra-bpmp: Enable Tegra BPMP I2C adapter (diff) | |
download | linux-074363a5a08c1be345c7d4bd6b0cf0d87a76c729.tar.xz linux-074363a5a08c1be345c7d4bd6b0cf0d87a76c729.zip |
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 'Kbuild')
0 files changed, 0 insertions, 0 deletions