diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2013-09-12 14:36:48 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2013-09-30 06:02:32 +0200 |
commit | 991e7ecf1f1a2e2fa76387066342a5a6c4a28a76 (patch) | |
tree | 41cbdf4dde864694ffeddce17328477c09713fed /drivers/i2c/i2c-dev.c | |
parent | 330c824a49cd49dd7e61c1e397fa4e7380ba2c68 (diff) | |
download | talos-op-linux-991e7ecf1f1a2e2fa76387066342a5a6c4a28a76.tar.gz talos-op-linux-991e7ecf1f1a2e2fa76387066342a5a6c4a28a76.zip |
i2c: rcar: use per-device clock
Using the same clock for all device instances is non-portable and obtaining
clock references by an ID without using a device pointer is discouraged.
This is also not needed, because on platforms, where this driver is used,
suitable clocks are available for the I2C controllers, that are children of
the peripheral clock and just pass its rate 1-to-1 to controllers. This
patch switches the driver to obtain references to correct clocks.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/i2c-dev.c')
0 files changed, 0 insertions, 0 deletions