commit | 3e99834cc0c7f0612dc790ad7342f18c375d285b | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Fri Jul 26 16:14:21 2019 +0300 |
committer | Wolfram Sang <wsa@the-dreams.de> | Tue Aug 06 22:54:18 2019 +0200 |
tree | d08c5bca639ee6f04f2fbf39cc01cf8daa76025f | |
parent | f91b2ab0e0c5f7cb4b11012748a184b91a396f0f [diff] |
i2c: Drop unneeded check for of_node of_find_property() will return NULL if of_node is NULL, thus of_irq_get_by_name() returns -EINVAL which we ignore, so no need to double check. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>