ti-soc-thermal: Delete error messages for failed memory allocations in ti_bandgap_build()
authorMarkus Elfring <elfring@users.sourceforge.net>
Wed, 26 Apr 2017 15:03:07 +0000 (17:03 +0200)
committerEduardo Valentin <edubezval@gmail.com>
Wed, 24 May 2017 03:07:14 +0000 (20:07 -0700)
commit57e521151b56ee0c5164c442b7928c66711bfbc4
treec7deec2e341d3e9d2bd3106281d5fab5c0ecfff3
parent748c23d88610b5df378d86e7192e4bd1f58adb35
ti-soc-thermal: Delete error messages for failed memory allocations in ti_bandgap_build()

The script "checkpatch.pl" pointed information out like the following.

WARNING: Possible unnecessary 'out of memory' message

Thus remove such statements here.

Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf
Acked-by: Keerthy <j-keerthy@ti.com>
Tested-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/ti-soc-thermal/ti-bandgap.c