thermal: rcar_gen3_thermal: store device match data in private structure
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Wed, 29 Mar 2017 18:43:55 +0000 (20:43 +0200)
committerEduardo Valentin <edubezval@gmail.com>
Fri, 31 Mar 2017 04:48:03 +0000 (21:48 -0700)
commitcc4d072b66298716484f5c78d782c64509f4b6d9
tree0e8be5e0a93f3c818c002628165365e5bfeb0788
parent7d4b269776ec67c1b7d83c6c727a2771e5f39d12
thermal: rcar_gen3_thermal: store device match data in private structure

The device match data needs to be accessible outside the probe function,
store it in the private data structure.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/rcar_gen3_thermal.c