thermal: ti-soc-thermal: ti-bandgap.c: Cleaning up wrong address is checked
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Mon, 2 Jun 2014 21:25:30 +0000 (23:25 +0200)
committerZhang Rui <rui.zhang@intel.com>
Tue, 1 Jul 2014 01:52:35 +0000 (09:52 +0800)
commitfbe2ddcdcca9c15558533cb75e5161152338b548
tree7a17272d8daf819fa1288e9995dd804d8af5d673
parentd0f9d64a0b8fb3399ca8dd0d54f4d305492c9217
thermal: ti-soc-thermal: ti-bandgap.c: Cleaning up wrong address is checked

Wrong address is checked after memory allocation.

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/ti-soc-thermal/ti-bandgap.c