]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
i2c: sh_mobile: remove platform_data
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 18 May 2017 21:11:39 +0000 (23:11 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 2 Jun 2017 20:50:13 +0000 (22:50 +0200)
commitd2f31c49cf7cfe8f02b70614ae56a39b0c1d8a75
tree17de5f5ae43dd90f7ff81d21cd6e072f03f59da2
parent6c42778780c40c7db0ee2bb56436cae86e4c1ba4
i2c: sh_mobile: remove platform_data

No platform currently upstream makes use of this platform_data anymore.
The ones that did are converted to DT meanwhile. So, remove it. The old
platforms likely don't have the 'clks_per_cnt' feature, otherwise it
would have been implemented by now. And in the unlikely case they need
to setup a different bus speed, we should rather go for a generic i2c
platform data just for that.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-sh_mobile.c
include/linux/i2c/i2c-sh_mobile.h [deleted file]