i2c: sh_mobile: require setup callback
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 18 Dec 2017 21:57:58 +0000 (22:57 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 15 Jan 2018 16:58:50 +0000 (17:58 +0100)
commitb3750b6278b2f37618931352df8de6e7ddbecd1e
treed7d093446b74ea43e1d7d5648c81ddd32fa0ed21
parent12742b6ac1215496a60fcf33d1d8397af7512840
i2c: sh_mobile: require setup callback

Require the setup callback and move the frequency calculation into it.
This is in preparation for supporting multiple formulas.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-sh_mobile.c