i2c: sh_mobile: let RuntimePM do the clock handling
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Mon, 18 Dec 2017 21:57:59 +0000 (22:57 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 15 Jan 2018 16:58:56 +0000 (17:58 +0100)
commit023c22fd82ce0c62d7490ace6388191375ef4133
treecc43842419b0f3b5ffba8db30c5b722e8f406505
parentb3750b6278b2f37618931352df8de6e7ddbecd1e
i2c: sh_mobile: let RuntimePM do the clock handling

Start RuntimePM a bit earlier, so we can use it to enable the clock
during probe for frequency calculations. Make sure it is enabled before
calling setup().

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