diff options
author | Uwe Kleine-König <uwe@kleine-koenig.org> | 2019-07-25 22:21:36 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2019-08-01 14:58:31 +0200 |
commit | 33eb09a02e8d8fad976019694196eec2cc210d62 (patch) | |
tree | 362ea35b949b7499ea8875444761b098eb36112c /tools/perf/scripts/python/export-to-postgresql.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 <uwe@kleine-koenig.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions