commit | 330c824a49cd49dd7e61c1e397fa4e7380ba2c68 | [log] [tgz] |
---|---|---|
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | Thu Sep 12 14:36:47 2013 +0200 |
committer | Wolfram Sang <wsa@the-dreams.de> | Mon Sep 30 06:02:32 2013 +0200 |
tree | 16dd3037e788135f53b78ff6eac04ed6a38d4977 | |
parent | 7679c0e19120ee7839adf1f05904cbfcc7a7c2b9 [diff] |
i2c: rcar: fix clk_get() error handling When clk_get() fails, it returns an error code, not a NULL. This patch fixes such an error handling bug. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>