diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-06-30 03:41:58 (GMT) |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-07-09 20:17:31 (GMT) |
commit | eb8173e3d7b94664ecd3acf34942c9c9d6f6cb73 (patch) | |
tree | 728bb767487a23b0a3fe059656f377930b3d84b4 /fs | |
parent | 724948106ed236fc528c720ae12c79af7e2aea4e (diff) | |
download | linux-eb8173e3d7b94664ecd3acf34942c9c9d6f6cb73.tar.xz |
i2c: jz4780: Fix return value if probe fails
Current code returns 0 if fails to read clock-frequency DT property,
fix it. Also add checking return value of clk_prepare_enable and
propagate return value of devm_request_irq.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions