diff options
| author | Uwe Kleine-König <[email protected]> | 2019-07-25 22:21:36 +0200 |
|---|---|---|
| committer | Wolfram Sang <[email protected]> | 2019-08-01 14:58:31 +0200 |
| commit | 33eb09a02e8d8fad976019694196eec2cc210d62 (patch) | |
| tree | 362ea35b949b7499ea8875444761b098eb36112c /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 684ca71259a69c5a3019da72fe718bf983841926 (diff) | |
i2c: designware: make use of devm_gpiod_get_optional
There is a semantical change: if devm_gpiod_get_optional returns -ENOSYS
this is passed as error to the caller. This effectively reverts commit
d1fa74520dcd ("i2c: designware: Consider SCL GPIO optional") which
shouldn't be necessary any more since gpiod_get_optional doesn't return
-ENOSYS any more with GPIOLIB=n.
Signed-off-by: Uwe Kleine-König <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Acked-by: Jarkko Nikula <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions