mfd: twl-core: Fix clock initialization
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 9 Apr 2018 08:45:39 +0000 (11:45 +0300)
committerLee Jones <lee.jones@linaro.org>
Wed, 16 May 2018 08:21:48 +0000 (09:21 +0100)
commitc218b3b242bd04539621b468f01ecd2af5a21a45
tree5d8ca1b635e3714a0bd8ae775b5009c948e98426
parentfab54649fd9c3eb27fb5aecc583a35a7cdc4599d
mfd: twl-core: Fix clock initialization

When looking up the clock we must use the client->dev as device since that
is the one which is probed via DT.

Cc: stable@vger.kernel.org # 4.16+
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/twl-core.c