Axel Lin eb8173e3d7 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>
2015-07-09 22:17:31 +02:00
..
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-12-14 16:10:09 -08:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-12-14 16:10:09 -08:00
2014-11-07 18:35:33 +01:00
2015-05-12 18:27:48 +02:00
2014-11-07 18:35:33 +01:00
2014-12-14 16:10:09 -08:00
2015-03-27 16:53:41 +01:00
2015-05-12 18:27:48 +02:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2015-05-12 21:16:04 +02:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-12-14 16:10:09 -08:00
2014-11-07 18:35:33 +01:00
2014-12-14 16:10:09 -08:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2015-04-23 19:35:33 +02:00
2014-11-07 18:35:33 +01:00
2015-06-21 21:24:10 +02:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2015-05-12 15:18:27 +02:00
2014-12-14 16:10:09 -08:00