diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2017-03-15 12:31:50 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-17 14:17:12 +0900 |
commit | acbdad8dd1abd98b216d8c37ff9c6de4aa595534 (patch) | |
tree | 229dc98e8a3d305d0ff079725d0b68ddcf30dd5c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 22077b091a4720d4336bd806e9c93b2a81fcc38a (diff) |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions