diff options
author | Shaokun Zhang <zhangshaokun@hisilicon.com> | 2019-08-05 17:31:08 +0800 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2019-08-06 22:23:24 +0200 |
commit | f91b2ab0e0c5f7cb4b11012748a184b91a396f0f (patch) | |
tree | cbec8a08d3e9f1de34f6c6caaafd7f94f69e62df /drivers/platform | |
parent | e611ee0b3b06b4d28216567a251e4de46e595b5d (diff) | |
download | linux-f91b2ab0e0c5f7cb4b11012748a184b91a396f0f.tar.bz2 |
i2c: designware: Fix unused variable warning
drivers/i2c/busses/i2c-designware-master.c: In function ‘i2c_dw_init_recovery_info’:
drivers/i2c/busses/i2c-designware-master.c:658:6: warning: unused variable ‘r’ [-Wunused-variable]
int r;
^
Fixes: 33eb09a02e8d ("i2c: designware: make use of devm_gpiod_get_optional")
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/platform')
0 files changed, 0 insertions, 0 deletions