diff options
| author | Philipp Zabel <p.zabel@pengutronix.de> | 2017-03-15 14:31:50 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-17 08:17:12 +0300 |
| commit | acbdad8dd1abd98b216d8c37ff9c6de4aa595534 (patch) | |
| tree | 229dc98e8a3d305d0ff079725d0b68ddcf30dd5c /scripts/diffconfig | |
| parent | 22077b091a4720d4336bd806e9c93b2a81fcc38a (diff) | |
| download | linux-acbdad8dd1abd98b216d8c37ff9c6de4aa595534.tar.xz | |
serial: 8250_dw: 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>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/diffconfig')
0 files changed, 0 insertions, 0 deletions
