commit | d51546c0db975a4750161d17eef62dfcf9eedc90 | [log] [tgz] |
---|---|---|
author | Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> | Wed Mar 29 20:43:52 2017 +0200 |
committer | Eduardo Valentin <edubezval@gmail.com> | Thu Mar 30 21:41:48 2017 -0700 |
tree | 86f6a3a865e2851724e78285249567ff7934e194 | |
parent | 100cfbcf2580b0605f50af32fefd9c8d1d8357fb [diff] |
thermal: rcar_gen3_thermal: check that TSC exists before memory allocation Move the check for a TSC resource before allocating memory for a new TSC. If no TSC is found there is little point in allocating memory for it. 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>