]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
i2c: rcar: fix clk_get() error handling
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 12 Sep 2013 12:36:47 +0000 (14:36 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 30 Sep 2013 04:02:32 +0000 (06:02 +0200)
commit330c824a49cd49dd7e61c1e397fa4e7380ba2c68
tree16dd3037e788135f53b78ff6eac04ed6a38d4977
parent7679c0e19120ee7839adf1f05904cbfcc7a7c2b9
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>
drivers/i2c/busses/i2c-rcar.c