Skip to content
Commit 4ececb7d authored by Wolfram Sang's avatar Wolfram Sang
Browse files

Revert "i2c: jz4780: prevent potential division by zero"

This reverts commit 34cf2acd

. 'ret' is
not set when bailing out. Also, there is a better place to check for 0.

Reported-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
parent 34cf2acd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment