i2c: designware: Fix optional reset error handling
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 19 Aug 2019 10:31:30 +0000 (13:31 +0300)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 29 Aug 2019 20:10:06 +0000 (22:10 +0200)
commita6af48ec0712a0c98d8abe6b47c655b26026fceb
tree3e1cf4c3a6efff590c8073f97e6ce8832a8f7e5d
parent71dc297ca9ab6311e7d39fc53811fd871d51854f
i2c: designware: Fix optional reset error handling

The commit bb475230b8e5 ("reset: make optional functions really optional")
brought a missed part of the support for an optional reset handlers.

Since that we don't need to have special error handling in the driver.

Signed-off-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>
drivers/i2c/busses/i2c-designware-platdrv.c