clk: wm831x: Initialise wm831x pointer on init
authorMark Brown <broonie@linaro.org>
Thu, 29 Aug 2013 11:21:01 +0000 (12:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Sep 2013 00:18:30 +0000 (17:18 -0700)
commitd662986b4f282ed5d9e42e6dbd5e6dbb2b5e7d0b
tree922d09dc2f43c18460f3a636fa7f1fd5b0eb54e4
parent497587f84f16a5775b91d0a1051930ae8997d02d
clk: wm831x: Initialise wm831x pointer on init

commit 08442ce993deeb15a070c14cc3f3459e87d111e0 upstream.

Otherwise any attempt to interact with the hardware will crash. This is
what happens when drivers get written blind.

Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/clk/clk-wm831x.c