commit | 4ececb7d173f17c60c00e704a0e4e51cdf788e04 | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa@the-dreams.de> | Sat Apr 09 08:32:37 2016 +0200 |
committer | Wolfram Sang <wsa@the-dreams.de> | Sat Apr 09 08:32:37 2016 +0200 |
tree | 2e045896e94632621f8107db1f6bd639754ae0f4 | |
parent | 34cf2acdafaa31a13821e45de5ee896adcd307b1 [diff] |
Revert "i2c: jz4780: prevent potential division by zero" This reverts commit 34cf2acdafaa31a13821e45de5ee896adcd307b1. 'ret' is not set when bailing out. Also, there is a better place to check for 0. Reported-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>