diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2017-03-15 14:31:47 +0300 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | 2017-03-16 11:53:59 +0300 |
commit | 6b244bbf0ddfcb5539bcf4e60d8799c926b0108d (patch) | |
tree | c824fc7912619a1d5171e94df70a7cb3cae5ebc5 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 626994e0748019f9987ac520f1dcfd0adb7e34c6 (diff) | |
download | linux-6b244bbf0ddfcb5539bcf4e60d8799c926b0108d.tar.xz |
mtd: nand: sunxi: 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: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions